Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.882/2.882, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9779/0.9799, allocations: 168.7 MB / 1.272 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002425/0.9823, allocations: 1.475 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006781/0.983, allocations: 393 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.983, allocations: 0 / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.983, allocations: 1.312 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.242e-05/0.9831, allocations: 5.219 kB / 1.273 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.9835, allocations: 113.6 kB / 1.273 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.9836, allocations: 25.42 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.9836, allocations: 5.094 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.9837, allocations: 13.78 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.801e-05/0.9837, allocations: 14.86 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.9838, allocations: 2.25 kB / 1.274 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.9842, allocations: 279.9 kB / 1.274 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.9842, allocations: 4.766 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.27e-05/0.9842, allocations: 12.02 kB / 1.274 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002012/0.9844, allocations: 107.5 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9844, allocations: 0 / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9844, allocations: 4.688 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.177e-05/0.9844, allocations: 3.938 kB / 1.274 GB, free: 6.242 MB / 0.9981 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.0003918/0.9848, allocations: 365.4 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.9849, allocations: 10.12 kB / 1.274 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.144e-05/0.9849, allocations: 30.75 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.794e-05/0.9849, allocations: 3.125 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.58e-05/0.985, allocations: 175.4 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.985, allocations: 1.375 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.985, allocations: 1.469 kB / 1.274 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.9852, allocations: 53.38 kB / 1.275 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.9852, allocations: 9.203 kB / 1.275 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.9852, allocations: 0 / 1.275 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.9852, allocations: 4.594 kB / 1.275 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.9854, allocations: 37.25 kB / 1.275 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.9856, allocations: 254 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.9858, allocations: 40.27 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.9858, allocations: 19.44 kB / 1.275 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005592/0.9864, allocations: 467.5 kB / 1.275 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.173e-05/0.9864, allocations: 31.53 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.9864, allocations: 0.625 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003523/0.9868, allocations: 89.2 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.687e-05/0.9868, allocations: 51.41 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.139e-05/0.9868, allocations: 109.3 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.9868, allocations: 26.73 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.378e-05/0.9869, allocations: 82.39 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.9869, allocations: 9.016 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.9869, allocations: 12.39 kB / 1.276 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.987, allocations: 314.6 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.18e-05/0.987, allocations: 21.2 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/0.9871, allocations: 14.59 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.9872, allocations: 41.5 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9872, allocations: 8.688 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000212/0.9875, allocations: 72.33 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.9875, allocations: 5.812 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.9875, allocations: 0 / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.9875, allocations: 0.9062 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.172e-05/0.9876, allocations: 12.47 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.9876, allocations: 3.219 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/0.9876, allocations: 4.203 kB / 1.276 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.9876, allocations: 1.688 kB / 1.276 GB, free: 3.98 MB / 0.9981 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 4.674e-05/0.9877, allocations: 119.5 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.772e-05/0.9877, allocations: 3.125 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.9879, allocations: 72.52 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.9879, allocations: 0 / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9879, allocations: 1.766 kB / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.9879, allocations: 0 / 1.276 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.9881, allocations: 167 kB / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.9881, allocations: 0 / 1.277 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.401e-05/0.9881, allocations: 12.66 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.9881, allocations: 0.5625 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.9881, allocations: 0.75 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9881, allocations: 0.75 kB / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.9881, allocations: 0 / 1.277 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.9883, allocations: 177.2 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.534e-05/0.9884, allocations: 86.58 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.9884, allocations: 0 / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7e-05/0.9884, allocations: 6.766 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.9885, allocations: 2.109 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.9885, allocations: 0.875 kB / 1.277 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.545e-05/0.9885, allocations: 86.47 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9885, allocations: 0 / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002337/0.9887, allocations: 16.89 kB / 1.277 GB, free: 3.27 MB / 0.9981 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.0004179/0.9891, allocations: 0.711 MB / 1.278 GB, free: 2.598 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.9894, allocations: 37.75 kB / 1.278 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.9894, allocations: 5.312 kB / 1.278 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.9894, allocations: 20.25 kB / 1.278 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.9897, allocations: 5.875 kB / 1.278 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003857/0.9901, allocations: 156.4 kB / 1.278 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.9904, allocations: 0.6768 MB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.337e-05/0.9904, allocations: 1.312 kB / 1.278 GB, free: 17.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.9904, allocations: 15.59 kB / 1.278 GB, free: 17.72 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.9904, allocations: 0 / 1.278 GB, free: 17.72 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02415/1.015, allocations: 1.586 MB / 1.28 GB, free: 17.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.29, allocations: 13.41 kB / 1.28 GB, free: 17.34 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_RegNonZeroPower.fmu > Buildings_11_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.443451455008471] Failed to read output from testmodel.py, exit status != 0: 9.359697158972267 9.384196949 8.395208419 Calling exit ...