Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.001287/0.001287, allocations: 123 kB / 17.17 MB, free: 5.918 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.001367/0.001367, allocations: 205.6 kB / 20.13 MB, free: 2.98 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.54/1.54, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] 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.002378/0.002378, allocations: 280.2 kB / 309.8 MB, free: 3.488 MB / 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 1.117/1.117, allocations: 180.6 MB / 0.5338 GB, free: 12.82 MB / 398.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [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.002841/0.002841, allocations: 104.1 kB / 0.7347 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6421/0.645, allocations: 95.35 MB / 0.8278 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002531/0.6475, allocations: 1.47 MB / 0.8292 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0006519/0.6481, allocations: 391.6 kB / 0.8296 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.6482, allocations: 0 / 0.8296 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.795e-05/0.6482, allocations: 3.938 kB / 0.8296 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.6483, allocations: 1.844 kB / 0.8296 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.6487, allocations: 118.1 kB / 0.8297 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.187e-05/0.6488, allocations: 24.56 kB / 0.8297 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.509e-05/0.6488, allocations: 8.281 kB / 0.8297 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.6489, allocations: 11.97 kB / 0.8298 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.066e-05/0.6489, allocations: 16.78 kB / 0.8298 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.6489, allocations: 2.625 kB / 0.8298 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.6493, allocations: 277.5 kB / 0.83 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.6493, allocations: 5.391 kB / 0.83 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.6494, allocations: 11.83 kB / 0.8301 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.6496, allocations: 108.1 kB / 0.8302 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6496, allocations: 0 / 0.8302 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6496, allocations: 0 / 0.8302 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.6496, allocations: 0.5625 kB / 0.8302 GB, free: 1.617 MB / 0.5762 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.0004141/0.65, allocations: 371 kB / 0.8305 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.65, allocations: 10.5 kB / 0.8305 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.243e-05/0.6501, allocations: 192 / 0.8305 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.901e-05/0.6501, allocations: 35.36 kB / 0.8306 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.6501, allocations: 2.156 kB / 0.8306 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.499e-05/0.6502, allocations: 172.4 kB / 0.8307 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-06/0.6502, allocations: 1.266 kB / 0.8307 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.6502, allocations: 6.938 kB / 0.8307 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.6504, allocations: 55.69 kB / 0.8308 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.6504, allocations: 0 / 0.8308 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.6504, allocations: 6.562 kB / 0.8308 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.6504, allocations: 0 / 0.8308 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.6506, allocations: 34.56 kB / 0.8308 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.6508, allocations: 259.2 kB / 0.8311 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.651, allocations: 47.61 kB / 0.8311 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.6511, allocations: 20.56 kB / 0.8311 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005671/0.6516, allocations: 464.1 kB / 0.8316 GB, free: 128 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.6516, allocations: 31.17 kB / 0.8316 GB, free: 88 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6516, allocations: 0 / 0.8316 GB, free: 88 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003648/0.652, allocations: 83.47 kB / 0.8317 GB, free: 48 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.652, allocations: 55.53 kB / 0.8317 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.6521, allocations: 112.7 kB / 0.8318 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.6522, allocations: 25.7 kB / 0.8319 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.6522, allocations: 84.98 kB / 0.832 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.6522, allocations: 7.141 kB / 0.832 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-05/0.6523, allocations: 13.11 kB / 0.832 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.6524, allocations: 312.2 kB / 0.8323 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.515e-05/0.6525, allocations: 22.12 kB / 0.8323 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.6526, allocations: 19.58 kB / 0.8323 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.6527, allocations: 41.55 kB / 0.8323 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6527, allocations: 0 / 0.8323 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002121/0.6529, allocations: 71.16 kB / 0.8324 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.6529, allocations: 5.812 kB / 0.8324 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.6529, allocations: 3.984 kB / 0.8324 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.653, allocations: 5.641 kB / 0.8324 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.653, allocations: 10.78 kB / 0.8324 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.653, allocations: 0 / 0.8324 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.516e-05/0.6531, allocations: 5.172 kB / 0.8324 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.6531, allocations: 0 / 0.8324 GB, free: 15.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 (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 8.286e-05/0.6532, allocations: 121.1 kB / 0.8326 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.477e-05/0.6532, allocations: 1.25 kB / 0.8326 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.6535, allocations: 73.33 kB / 0.8326 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.6535, allocations: 1.672 kB / 0.8326 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.6535, allocations: 0 / 0.8326 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6535, allocations: 3 kB / 0.8326 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.6536, allocations: 159.6 kB / 0.8328 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6536, allocations: 0 / 0.8328 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.6537, allocations: 22.75 kB / 0.8328 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.6537, allocations: 0 / 0.8328 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.6537, allocations: 0.6094 kB / 0.8328 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6537, allocations: 0 / 0.8328 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6537, allocations: 0 / 0.8328 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.654, allocations: 170.4 kB / 0.833 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.654, allocations: 85.7 kB / 0.8331 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.654, allocations: 0.6094 kB / 0.8331 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.6541, allocations: 8.812 kB / 0.8331 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.6542, allocations: 1.078 kB / 0.8331 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.6542, allocations: 0 / 0.8331 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.6542, allocations: 91.7 kB / 0.8332 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.6542, allocations: 0 / 0.8332 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002327/0.6544, allocations: 15.84 kB / 0.8332 GB, free: 14.64 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 0.0006597/0.6551, allocations: 0.7157 MB / 0.8339 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002348/0.6553, allocations: 38.02 kB / 0.8339 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.6553, allocations: 4.094 kB / 0.8339 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.758e-05/0.6554, allocations: 18.77 kB / 0.8339 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.6557, allocations: 8.188 kB / 0.8339 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.6562, allocations: 140.8 kB / 0.8341 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.6565, allocations: 0.6783 MB / 0.8347 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.465e-05/0.6565, allocations: 1.219 kB / 0.8347 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.6566, allocations: 14.02 kB / 0.8347 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.6566, allocations: 0 / 0.8347 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.6736, allocations: 1.657 MB / 0.8364 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.074/8.747, allocations: 13.31 kB / 0.8364 GB, free: 12.68 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.978551008971408] Failed to read output from testmodel.py, exit status != 0: 8.886492779944092 8.909904593 8.256085157 Calling exit ...