Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9577/0.9577, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002469/0.002469, allocations: 242 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6951/0.6951, allocations: 138.4 MB / 402.2 MB, free: 0.5547 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") translateModel(BuildingSystems.Utilities.Math.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 462.3 MB, free: 0.9102 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.256e-05, allocations: 2.938 kB / 462.3 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.InverseXRegularized): time 0.00193/0.001953, allocations: 1.507 MB / 463.8 MB, free: 15.93 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009949/0.002948, allocations: 0.7911 MB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.348e-05/0.002981, allocations: 0 / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.003009, allocations: 6.234 kB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.725e-05/0.003056, allocations: 2.703 kB / 464.6 MB, free: 15.43 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004417/0.003498, allocations: 133.5 kB / 464.7 MB, free: 15.38 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.932e-05/0.003567, allocations: 35.73 kB / 464.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.781e-05/0.003635, allocations: 9.906 kB / 464.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.26e-05/0.003687, allocations: 14.5 kB / 464.8 MB, free: 15.36 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.726e-05/0.003735, allocations: 18.11 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.003748, allocations: 4.625 kB / 464.8 MB, free: 15.35 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.00407, allocations: 252.4 kB / 465.1 MB, free: 15.29 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.318e-05/0.004093, allocations: 11.53 kB / 465.1 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.909e-05/0.004112, allocations: 5.453 kB / 465.1 MB, free: 15.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.0044, allocations: 210.8 kB / 465.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004402, allocations: 0 / 465.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.004404, allocations: 3.188 kB / 465.3 MB, free: 15.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.115e-06/0.004407, allocations: 0 / 465.3 MB, free: 15.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003356/0.004742, allocations: 263.6 kB / 465.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.004774, allocations: 13.55 kB / 465.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.00499, allocations: 56.73 kB / 465.6 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.966e-05/0.005069, allocations: 109.7 kB / 465.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.005084, allocations: 2.203 kB / 465.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.005097, allocations: 3.219 kB / 465.7 MB, free: 14.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.005236, allocations: 71.27 kB / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.005242, allocations: 2.031 kB / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.00525, allocations: 1.172 kB / 465.8 MB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.005257, allocations: 5.531 kB / 465.8 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.005291, allocations: 11.81 kB / 465.8 MB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002431/0.005534, allocations: 165.6 kB / 466 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.704e-05/0.005621, allocations: 39.61 kB / 466 MB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.005639, allocations: 8.625 kB / 466 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.00565, allocations: 2.656 kB / 466 MB, free: 14.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.005671, allocations: 40.92 kB / 466.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.005673, allocations: 0 / 466.1 MB, free: 14.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.005787, allocations: 45.86 kB / 466.1 MB, free: 14.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.005815, allocations: 52.06 kB / 466.2 MB, free: 14.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.005864, allocations: 108.5 kB / 466.3 MB, free: 14.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/0.005874, allocations: 25.7 kB / 466.3 MB, free: 14.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.728e-05/0.005901, allocations: 85.64 kB / 466.4 MB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.005916, allocations: 3.953 kB / 466.4 MB, free: 14.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.005943, allocations: 17.61 kB / 466.4 MB, free: 14.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.006015, allocations: 322.6 kB / 466.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.603e-05/0.006031, allocations: 3.547 kB / 466.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.415e-05/0.006046, allocations: 5.234 kB / 466.7 MB, free: 13.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.006075, allocations: 17.11 kB / 466.8 MB, free: 13.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.006077, allocations: 0 / 466.8 MB, free: 13.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.54e-05/0.006132, allocations: 38.67 kB / 466.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006144, allocations: 5.844 kB / 466.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006148, allocations: 1.531 kB / 466.8 MB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.00616, allocations: 5.031 kB / 466.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.678e-05/0.006237, allocations: 12.89 kB / 466.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.477e-06/0.006241, allocations: 2.578 kB / 466.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.164e-05/0.006272, allocations: 11.34 kB / 466.8 MB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.006278, allocations: 0.7969 kB / 466.8 MB, free: 13.84 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.044e-05/0.006328, allocations: 109.7 kB / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.006343, allocations: 3.188 kB / 466.9 MB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.443e-05/0.006368, allocations: 12.05 kB / 467 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.006371, allocations: 6.062 kB / 467 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.006374, allocations: 2.594 kB / 467 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.006377, allocations: 0.6094 kB / 467 MB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.826e-05/0.006465, allocations: 83.31 kB / 467 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.006466, allocations: 0 / 467 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.006507, allocations: 13.83 kB / 467.1 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006508, allocations: 1.562 kB / 467.1 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.006514, allocations: 1.078 kB / 467.1 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.006516, allocations: 1.125 kB / 467.1 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.006517, allocations: 1.281 kB / 467.1 MB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.054e-05/0.006607, allocations: 135.3 kB / 467.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-06/0.006613, allocations: 2.156 kB / 467.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.006622, allocations: 1.469 kB / 467.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.349e-05/0.006665, allocations: 11.28 kB / 467.2 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.006694, allocations: 13.34 kB / 467.2 MB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.006697, allocations: 0 / 467.2 MB, free: 13.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.076e-05/0.006707, allocations: 15.2 kB / 467.2 MB, free: 13.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006707, allocations: 0 / 467.2 MB, free: 13.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001334/0.006841, allocations: 12.72 kB / 467.2 MB, free: 13.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001153/0.006956, allocations: 91.95 kB / 467.3 MB, free: 13.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.00702, allocations: 16 kB / 467.4 MB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.007022, allocations: 2.531 kB / 467.4 MB, free: 13.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.193e-05/0.007043, allocations: 12.48 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001263/0.00717, allocations: 11.08 kB / 467.4 MB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.00743, allocations: 129.8 kB / 467.5 MB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.007464, allocations: 58.36 kB / 467.6 MB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.007505, allocations: 9.25 kB / 467.6 MB, free: 13.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.007579, allocations: 51.16 kB / 467.6 MB, free: 13.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/0.00758, allocations: 1.812 kB / 467.6 MB, free: 13.16 MB / 426.7 MB Notification: Performance of Templates: time 0.002907/0.01049, allocations: 0.9131 MB / 468.5 MB, free: 12.33 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6135216779075563]