Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.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.002373/0.002373, allocations: 114.7 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.002215/0.002215, allocations: 189.9 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.555/1.555, allocations: 225.6 MB / 249.4 MB, free: 3.16 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.807/2.807, allocations: 476.7 MB / 0.7629 GB, free: 15.05 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.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002759/0.002759, allocations: 59.91 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 168.7 MB / 1.272 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.002468/1.055, allocations: 1.462 MB / 1.273 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002766/1.055, allocations: 100.4 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/1.055, allocations: 0.625 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/1.055, allocations: 4 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.894e-05/1.055, allocations: 5.484 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001895/1.055, allocations: 17.8 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.795e-05/1.055, allocations: 26.7 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.731e-05/1.055, allocations: 4.281 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.071e-05/1.056, allocations: 13.27 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.92e-05/1.056, allocations: 13.92 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/1.056, allocations: 2.219 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/1.056, allocations: 12.81 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/1.056, allocations: 14.12 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/1.056, allocations: 11.86 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/1.056, allocations: 36.77 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.056, allocations: 0 / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.655e-06/1.056, allocations: 0.5625 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.909e-06/1.056, allocations: 0.5625 kB / 1.273 GB, free: 6.547 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.0004242/1.056, allocations: 342.5 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.056, allocations: 10.08 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.233e-05/1.056, allocations: 35.5 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/1.056, allocations: 16.67 kB / 1.274 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.088e-05/1.057, allocations: 172.2 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.057, allocations: 1.25 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/1.057, allocations: 1.312 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/1.057, allocations: 59.66 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.057, allocations: 4.719 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/1.057, allocations: 0.75 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/1.057, allocations: 0.7188 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/1.057, allocations: 55.8 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/1.057, allocations: 261.6 kB / 1.274 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/1.058, allocations: 51.31 kB / 1.274 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/1.058, allocations: 38.75 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/1.058, allocations: 1.062 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/1.058, allocations: 31.5 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/1.058, allocations: 3.938 kB / 1.274 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004103/1.058, allocations: 102.6 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.943e-05/1.058, allocations: 52.77 kB / 1.274 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/1.058, allocations: 106.9 kB / 1.274 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/1.058, allocations: 25.7 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.3e-05/1.058, allocations: 85.2 kB / 1.275 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/1.058, allocations: 5.047 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/1.058, allocations: 12.69 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.68e-05/1.058, allocations: 317.5 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/1.058, allocations: 31.19 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/1.058, allocations: 24.52 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/1.059, allocations: 50.72 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.059, allocations: 8.594 kB / 1.275 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002428/1.059, allocations: 85.59 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.059, allocations: 7.781 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/1.059, allocations: 0 / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.059, allocations: 0 / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/1.059, allocations: 12.02 kB / 1.275 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/1.059, allocations: 5.016 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/1.059, allocations: 8.531 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/1.059, allocations: 4 kB / 1.275 GB, free: 4.746 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 5.52e-05/1.059, allocations: 117.5 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/1.059, allocations: 2.062 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.751e-05/1.059, allocations: 4.625 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.059, allocations: 0 / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.059, allocations: 1.094 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.059, allocations: 2.781 kB / 1.275 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/1.059, allocations: 169.9 kB / 1.275 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/1.059, allocations: 4.75 kB / 1.275 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.542e-05/1.059, allocations: 16.64 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/1.059, allocations: 0 / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/1.059, allocations: 0.7812 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.059, allocations: 0.6875 kB / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.059, allocations: 0 / 1.275 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/1.06, allocations: 184.3 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.408e-05/1.06, allocations: 77.86 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/1.06, allocations: 0.7812 kB / 1.276 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/1.06, allocations: 10.98 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/1.06, allocations: 1.656 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/1.06, allocations: 1.719 kB / 1.276 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.469e-05/1.06, allocations: 81.08 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.06, allocations: 1.062 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002099/1.06, allocations: 13.09 kB / 1.276 GB, free: 4.078 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.0003922/1.06, allocations: 0.7095 MB / 1.276 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002497/1.061, allocations: 54.86 kB / 1.277 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.061, allocations: 3.938 kB / 1.277 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/1.061, allocations: 30.59 kB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/1.061, allocations: 1.875 kB / 1.277 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/1.061, allocations: 170.1 kB / 1.277 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/1.062, allocations: 0.6761 MB / 1.277 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.698e-05/1.062, allocations: 5.484 kB / 1.277 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/1.062, allocations: 11.38 kB / 1.277 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/1.062, allocations: 0 / 1.277 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02508/1.087, allocations: 1.442 MB / 1.279 GB, free: 18.15 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/9.11, allocations: 8.734 kB / 1.279 GB, free: 18.15 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized_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_PowerLinearized.fmu > Buildings_11_Buildings.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.442160039994633] Failed to read output from testmodel.py, exit status != 0: 9.181769058981445 9.197519451 8.138332767 Calling exit ...