Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.001471/0.001471, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001567/0.001567, allocations: 157.5 kB / 23.01 MB, free: 4.602 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.949 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.002386/0.002386, allocations: 229.8 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.8939/0.8939, allocations: 138.5 MB / 455 MB, free: 15.08 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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.003031/0.003031, allocations: 98.36 kB / 0.6474 GB, free: 7.516 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3851, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001816/0.3869, allocations: 0.5977 MB / 0.7411 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0002767/0.3872, allocations: 93.47 kB / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.3872, allocations: 0 / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.3873, allocations: 0 / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.3873, allocations: 0 / 0.7412 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.3875, allocations: 22.53 kB / 0.7412 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 4.612e-05/0.3875, allocations: 4.844 kB / 0.7412 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.669e-05/0.3876, allocations: 6.422 kB / 0.7412 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 1.553e-05/0.3876, allocations: 3.188 kB / 0.7412 GB, free: 17.03 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.375e-05/0.3877, allocations: 6.609 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.989e-06/0.3877, allocations: 1.094 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 5.69e-05/0.3877, allocations: 14.7 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.3877, allocations: 1.406 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 1.654e-05/0.3878, allocations: 1.781 kB / 0.7412 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 7.952e-05/0.3878, allocations: 18.31 kB / 0.7412 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3878, allocations: 0.7031 kB / 0.7412 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3878, allocations: 0 / 0.7412 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.3878, allocations: 4 kB / 0.7412 GB, free: 17.01 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.0002425/0.3881, allocations: 248.3 kB / 0.7415 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3881, allocations: 15.41 kB / 0.7415 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.3883, allocations: 9.688 kB / 0.7415 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.364e-05/0.3883, allocations: 108.1 kB / 0.7416 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.3883, allocations: 2.406 kB / 0.7416 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3883, allocations: 1.656 kB / 0.7416 GB, free: 16.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.3885, allocations: 40.7 kB / 0.7416 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3885, allocations: 192 / 0.7416 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.3885, allocations: 11.88 kB / 0.7417 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.3885, allocations: 1.156 kB / 0.7417 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.3885, allocations: 10.62 kB / 0.7417 GB, free: 16.57 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.613e-05/0.3886, allocations: 101.7 kB / 0.7418 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.3888, allocations: 43.03 kB / 0.7418 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.3888, allocations: 15.69 kB / 0.7418 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.3889, allocations: 0 / 0.7418 GB, free: 16.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.3889, allocations: 37.5 kB / 0.7419 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 7.51e-07/0.3889, allocations: 4 kB / 0.7419 GB, free: 16.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0001903/0.3891, allocations: 56.03 kB / 0.7419 GB, free: 16.31 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.741e-05/0.3891, allocations: 56.97 kB / 0.742 GB, free: 16.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.427e-05/0.3891, allocations: 89.86 kB / 0.7421 GB, free: 16.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.3891, allocations: 26.41 kB / 0.7421 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-06/0.3891, allocations: 81.39 kB / 0.7422 GB, free: 16.04 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.3891, allocations: 9.531 kB / 0.7422 GB, free: 16.03 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.3892, allocations: 13.47 kB / 0.7422 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.434e-05/0.3892, allocations: 316.9 kB / 0.7425 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.3892, allocations: 9.906 kB / 0.7425 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.055e-05/0.3893, allocations: 5.859 kB / 0.7425 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.3893, allocations: 25.89 kB / 0.7425 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3893, allocations: 0 / 0.7425 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.964e-05/0.3894, allocations: 51.36 kB / 0.7426 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.3895, allocations: 9.156 kB / 0.7426 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3895, allocations: 1.562 kB / 0.7426 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3895, allocations: 0 / 0.7426 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000388/0.3899, allocations: 50.34 kB / 0.7426 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009079/0.3908, allocations: 1.276 MB / 0.7439 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.3908, allocations: 10.97 kB / 0.7439 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-06/0.3908, allocations: 0.5156 kB / 0.7439 GB, free: 14.34 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.3908, allocations: 120.9 kB / 0.744 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.3909, allocations: 1.125 kB / 0.744 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.182e-05/0.3909, allocations: 4.047 kB / 0.744 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3909, allocations: 6.094 kB / 0.744 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.3909, allocations: 0 / 0.744 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.3909, allocations: 1.125 kB / 0.744 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.483e-05/0.3909, allocations: 105.5 kB / 0.7441 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3909, allocations: 3.938 kB / 0.7441 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.3913, allocations: 45.72 kB / 0.7442 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3913, allocations: 5.734 kB / 0.7442 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.3913, allocations: 0 / 0.7442 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008008/0.3921, allocations: 1.288 MB / 0.7454 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3921, allocations: 0.7031 kB / 0.7454 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001037/0.3922, allocations: 76.91 kB / 0.7455 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-06/0.3922, allocations: 1.828 kB / 0.7455 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.564e-06/0.3922, allocations: 5.703 kB / 0.7455 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.3922, allocations: 2.031 kB / 0.7455 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.3923, allocations: 2.422 kB / 0.7455 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3923, allocations: 2.047 kB / 0.7455 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 1.119e-05/0.3923, allocations: 83.25 kB / 0.7456 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5e-08/0.3923, allocations: 4 kB / 0.7456 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001945/0.3925, allocations: 3.375 kB / 0.7456 GB, free: 12.62 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.521e-05/0.3926, allocations: 95.23 kB / 0.7457 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004596/0.393, allocations: 63.59 kB / 0.7458 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.393, allocations: 0 / 0.7458 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.3933, allocations: 38.83 kB / 0.7458 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.3934, allocations: 1.219 kB / 0.7458 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.3937, allocations: 98 kB / 0.7459 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.535e-05/0.3937, allocations: 56.97 kB / 0.7459 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.683e-05/0.3937, allocations: 7.141 kB / 0.7459 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.3937, allocations: 10.38 kB / 0.746 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.3937, allocations: 5.281 kB / 0.746 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of Templates: time 0.002535/0.3963, allocations: 466 kB / 0.7464 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.369037177064456] Failed to read output from testmodel.py, exit status != 0: 0.4039698849665001 0.41495834600000003 0.024633353 Calling exit ...