Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.001501/0.001501, allocations: 78.09 kB / 19.76 MB, free: 1.875 MB / 14.72 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.001372/0.001372, allocations: 159.7 kB / 23.01 MB, free: 4.594 MB / 14.72 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 1.335/1.335, allocations: 177.2 MB / 203.4 MB, free: 8.992 MB / 190.1 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.002348/0.002348, allocations: 233.2 kB / 260 MB, free: 480 kB / 238.1 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.8754/0.8754, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002938/0.002938, allocations: 106.7 kB / 0.6474 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.372/0.3749, allocations: 95.34 MB / 0.7405 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002144/0.3771, allocations: 1.461 MB / 0.7419 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002375/0.3773, allocations: 94.25 kB / 0.742 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.089e-05/0.3773, allocations: 0 / 0.742 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 2.614e-05/0.3774, allocations: 4.453 kB / 0.742 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.216e-05/0.3774, allocations: 9.719 kB / 0.742 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.3776, allocations: 21.56 kB / 0.742 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.3776, allocations: 24.77 kB / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.179e-05/0.3777, allocations: 4.766 kB / 0.742 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.3777, allocations: 8.984 kB / 0.742 GB, free: 16.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.3778, allocations: 18.23 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.3778, allocations: 2.219 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.136e-05/0.3778, allocations: 12.09 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.3779, allocations: 6.203 kB / 0.7421 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.3779, allocations: 15.58 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 8.949e-05/0.378, allocations: 27 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.378, allocations: 0 / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.533e-06/0.378, allocations: 1.281 kB / 0.7421 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.378, allocations: 0 / 0.7421 GB, free: 16.3 MB / 0.5919 GB 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.0003134/0.3783, allocations: 271.2 kB / 0.7424 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.3783, allocations: 14 kB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001421/0.3785, allocations: 16.69 kB / 0.7424 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.292e-05/0.3785, allocations: 114.6 kB / 0.7425 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3785, allocations: 2.172 kB / 0.7425 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.3785, allocations: 1.719 kB / 0.7425 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.3787, allocations: 59.39 kB / 0.7426 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3787, allocations: 1.375 kB / 0.7426 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-06/0.3787, allocations: 7.875 kB / 0.7426 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3787, allocations: 0.8438 kB / 0.7426 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002008/0.3789, allocations: 55.5 kB / 0.7426 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000253/0.3792, allocations: 204.4 kB / 0.7428 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.3794, allocations: 47.44 kB / 0.7429 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3795, allocations: 32.33 kB / 0.7429 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.3795, allocations: 5.031 kB / 0.7429 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.3795, allocations: 40.38 kB / 0.743 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3795, allocations: 1.156 kB / 0.743 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0003728/0.3799, allocations: 95.81 kB / 0.743 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/0.3799, allocations: 53.06 kB / 0.7431 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.642e-05/0.3799, allocations: 103.8 kB / 0.7432 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.3799, allocations: 25.7 kB / 0.7432 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.046e-05/0.3799, allocations: 91.41 kB / 0.7433 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.38, allocations: 6.344 kB / 0.7433 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.38, allocations: 16.03 kB / 0.7433 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.242e-05/0.38, allocations: 314 kB / 0.7436 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3801, allocations: 26.5 kB / 0.7437 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.196e-05/0.3802, allocations: 25.06 kB / 0.7437 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3804, allocations: 55.89 kB / 0.7437 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3804, allocations: 0 / 0.7437 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002199/0.3806, allocations: 86.53 kB / 0.7438 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.3806, allocations: 5.062 kB / 0.7438 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3806, allocations: 0 / 0.7438 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.3806, allocations: 1.156 kB / 0.7438 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.3807, allocations: 15.12 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.3807, allocations: 0 / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.3808, allocations: 12.59 kB / 0.7438 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3808, allocations: 5.734 kB / 0.7439 GB, free: 14.77 MB / 0.5919 GB 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 3.618e-05/0.3808, allocations: 109 kB / 0.744 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.3809, allocations: 5 kB / 0.744 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.098e-05/0.3809, allocations: 5.984 kB / 0.744 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.3809, allocations: 3.984 kB / 0.744 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.3809, allocations: 1.062 kB / 0.744 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.3809, allocations: 0 / 0.744 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.158e-05/0.381, allocations: 119.7 kB / 0.7441 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.381, allocations: 3.938 kB / 0.7441 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.3811, allocations: 11.84 kB / 0.7441 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3811, allocations: 3.938 kB / 0.7441 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.3811, allocations: 1.094 kB / 0.7441 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3811, allocations: 0.5625 kB / 0.7441 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3811, allocations: 1.25 kB / 0.7441 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3813, allocations: 174.5 kB / 0.7443 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.3813, allocations: 9.828 kB / 0.7443 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3813, allocations: 10 kB / 0.7443 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.006e-05/0.3814, allocations: 7.125 kB / 0.7443 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3815, allocations: 3.078 kB / 0.7443 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3815, allocations: 0 / 0.7443 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 2.131e-05/0.3815, allocations: 86.22 kB / 0.7444 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.3815, allocations: 0 / 0.7444 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002121/0.3817, allocations: 5.625 kB / 0.7444 GB, free: 14.27 MB / 0.5919 GB 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 6.235e-05/0.3818, allocations: 97.56 kB / 0.7445 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.382, allocations: 50.62 kB / 0.7445 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.382, allocations: 0 / 0.7445 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3821, allocations: 25.92 kB / 0.7446 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002261/0.3823, allocations: 12.41 kB / 0.7446 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002484/0.3826, allocations: 134.3 kB / 0.7447 GB, free: 14.03 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.125e-05/0.3826, allocations: 61.69 kB / 0.7448 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.362e-05/0.3826, allocations: 1.031 kB / 0.7448 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.3827, allocations: 10.3 kB / 0.7448 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.3827, allocations: 0 / 0.7448 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.00246/0.3851, allocations: 0.6474 MB / 0.7454 GB, free: 13.86 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.373703610035591] Failed to read output from testmodel.py, exit status != 0: 0.39218278299085796 0.40217194900000003 0.021828243 Calling exit ...