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.001589/0.001589, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.00137/0.00137, allocations: 215 kB / 20.13 MB, free: 2.949 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.485/1.485, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.00241/0.00241, allocations: 281.5 kB / 309.8 MB, free: 3.422 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.098/1.098, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",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.002783/0.002783, allocations: 107.8 kB / 0.7347 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5962, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002564/0.5988, allocations: 1.472 MB / 0.8292 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002699/0.5991, allocations: 93.08 kB / 0.8293 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.841e-05/0.5991, allocations: 4 kB / 0.8293 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.5991, allocations: 4.641 kB / 0.8293 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.33e-05/0.5992, allocations: 6.562 kB / 0.8293 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.5994, allocations: 22.48 kB / 0.8293 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.849e-05/0.5995, allocations: 22.86 kB / 0.8294 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.5996, allocations: 5.562 kB / 0.8294 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.639e-05/0.5996, allocations: 8.828 kB / 0.8294 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.765e-05/0.5997, allocations: 16.19 kB / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.5997, allocations: 0 / 0.8294 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 6.115e-05/0.5998, allocations: 18.53 kB / 0.8294 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.87e-05/0.5998, allocations: 8.688 kB / 0.8294 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.5998, allocations: 12.55 kB / 0.8294 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.5999, allocations: 34.36 kB / 0.8295 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.5999, allocations: 0 / 0.8295 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5999, allocations: 0 / 0.8295 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.5999, allocations: 0 / 0.8295 GB, free: 1.879 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.0004258/0.6004, allocations: 351.9 kB / 0.8298 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.6004, allocations: 9.219 kB / 0.8298 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/0.6004, allocations: 4.188 kB / 0.8298 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.128e-05/0.6004, allocations: 33.98 kB / 0.8299 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.6006, allocations: 10.36 kB / 0.8299 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.129e-05/0.6007, allocations: 172.5 kB / 0.83 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.6007, allocations: 7 kB / 0.83 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.6007, allocations: 384 / 0.83 GB, free: 1.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.6009, allocations: 60.41 kB / 0.8301 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6009, allocations: 3.984 kB / 0.8301 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.6009, allocations: 4 kB / 0.8301 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6009, allocations: 0 / 0.8301 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002244/0.6012, allocations: 52.2 kB / 0.8301 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003334/0.6015, allocations: 265.6 kB / 0.8304 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.6017, allocations: 51.83 kB / 0.8305 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.6018, allocations: 28.36 kB / 0.8305 GB, free: 0.8789 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.6018, allocations: 4 kB / 0.8305 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.6018, allocations: 33.98 kB / 0.8305 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6018, allocations: 0 / 0.8305 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0004303/0.6023, allocations: 104.8 kB / 0.8306 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.6023, allocations: 56.05 kB / 0.8307 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.927e-05/0.6023, allocations: 104.3 kB / 0.8308 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.6024, allocations: 29.7 kB / 0.8308 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.6024, allocations: 81.41 kB / 0.8309 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.6024, allocations: 7.328 kB / 0.8309 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.6024, allocations: 17.27 kB / 0.8309 GB, free: 492 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.6025, allocations: 315.6 kB / 0.8312 GB, free: 168 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.6026, allocations: 23.78 kB / 0.8312 GB, free: 164 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-05/0.6027, allocations: 24.16 kB / 0.8312 GB, free: 160 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.6029, allocations: 59.48 kB / 0.8313 GB, free: 136 kB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6029, allocations: 3.938 kB / 0.8313 GB, free: 132 kB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002531/0.6031, allocations: 82.86 kB / 0.8314 GB, free: 88 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.6032, allocations: 5.25 kB / 0.8314 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6032, allocations: 0.6094 kB / 0.8314 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6032, allocations: 0 / 0.8314 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.6033, allocations: 11.58 kB / 0.8314 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.6033, allocations: 4.031 kB / 0.8314 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.395e-05/0.6034, allocations: 12.34 kB / 0.8314 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.6034, allocations: 0.8906 kB / 0.8314 GB, free: 80 kB / 0.5762 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.831e-05/0.6034, allocations: 112.4 kB / 0.8315 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.6035, allocations: 3.375 kB / 0.8315 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.282e-05/0.6035, allocations: 8.516 kB / 0.8315 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6035, allocations: 0 / 0.8315 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6035, allocations: 0 / 0.8315 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6035, allocations: 3.516 kB / 0.8315 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.6037, allocations: 168.3 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.6037, allocations: 0 / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.6038, allocations: 8.906 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.6038, allocations: 6.562 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.6038, allocations: 0 / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.6038, allocations: 0.7031 kB / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6038, allocations: 0 / 0.8317 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.6041, allocations: 182.5 kB / 0.8319 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.6042, allocations: 81.06 kB / 0.832 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.6042, allocations: 2.078 kB / 0.832 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.6043, allocations: 12.95 kB / 0.832 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.6043, allocations: 4.531 kB / 0.832 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.6043, allocations: 0 / 0.832 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.079e-05/0.6044, allocations: 84.22 kB / 0.8321 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.6044, allocations: 4.031 kB / 0.8321 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002085/0.6046, allocations: 5.25 kB / 0.8321 GB, free: 15.42 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.0006455/0.6052, allocations: 0.7168 MB / 0.8328 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002725/0.6055, allocations: 49.75 kB / 0.8328 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.6055, allocations: 0 / 0.8328 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.6056, allocations: 25.77 kB / 0.8328 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.6059, allocations: 13.78 kB / 0.8329 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000522/0.6064, allocations: 156 kB / 0.833 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.6067, allocations: 0.6807 MB / 0.8337 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.6068, allocations: 0.7969 kB / 0.8337 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.6068, allocations: 13.67 kB / 0.8337 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of SimCode: time 2.8e-07/0.6068, allocations: 0 / 0.8337 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.6248, allocations: 1.518 MB / 0.8352 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.728, allocations: 5.406 kB / 0.8352 GB, free: 13.46 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.83448032400338] Failed to read output from testmodel.py, exit status != 0: 8.852689268009271 8.874337503 8.270284361 Calling exit ...