Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.001695/0.001695, allocations: 116.3 kB / 17.17 MB, free: 5.863 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.002031/0.002031, allocations: 214.3 kB / 20.13 MB, free: 2.922 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.747/2.747, allocations: 0.49 GB / 0.7923 GB, free: 1.398 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001944/0.001944, allocations: 71.88 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/0.8616, allocations: 176.1 MB / 1.321 GB, free: 24.7 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002883/0.8645, allocations: 2.421 MB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001584/0.8661, allocations: 1.471 MB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.8662, allocations: 6.719 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004876/0.8667, allocations: 207.5 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.8668, allocations: 75.98 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.8671, allocations: 142.4 kB / 1.326 GB, free: 21.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.8674, allocations: 334 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.8675, allocations: 36.77 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.8677, allocations: 138 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.8679, allocations: 193.3 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.8679, allocations: 29.34 kB / 1.326 GB, free: 21.39 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.868, allocations: 74.17 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.8681, allocations: 123.2 kB / 1.327 GB, free: 21.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.8682, allocations: 182.7 kB / 1.327 GB, free: 21.2 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.8686, allocations: 0.4942 MB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.8686, allocations: 0.5312 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8686, allocations: 0 / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.8686, allocations: 0.7812 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001173/0.8698, allocations: 0.7223 MB / 1.328 GB, free: 20.45 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.8699, allocations: 14.02 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.181e-05/0.8699, allocations: 1.688 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.199e-05/0.8699, allocations: 51.16 kB / 1.328 GB, free: 20.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.8711, allocations: 178.5 kB / 1.328 GB, free: 20.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.8715, allocations: 371.9 kB / 1.329 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.8716, allocations: 84.98 kB / 1.329 GB, free: 19.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.8716, allocations: 16.28 kB / 1.329 GB, free: 19.98 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.8724, allocations: 294.3 kB / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.8724, allocations: 0 / 1.329 GB, free: 19.87 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.8724, allocations: 12.78 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.8724, allocations: 6.844 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.8735, allocations: 416.4 kB / 1.329 GB, free: 19.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001719/0.8752, allocations: 0.8622 MB / 1.33 GB, free: 19.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.8759, allocations: 258.2 kB / 1.33 GB, free: 19.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.8765, allocations: 204.6 kB / 1.331 GB, free: 19.01 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.8765, allocations: 10.92 kB / 1.331 GB, free: 19 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.8765, allocations: 32.7 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 2.124e-06/0.8765, allocations: 0 / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001832/0.8784, allocations: 0.6532 MB / 1.331 GB, free: 18.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.8784, allocations: 52.66 kB / 1.331 GB, free: 18.65 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004685/0.8789, allocations: 432.8 kB / 1.332 GB, free: 18.43 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.8789, allocations: 31.39 kB / 1.332 GB, free: 18.4 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.879, allocations: 183.8 kB / 1.332 GB, free: 18.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.422e-05/0.8791, allocations: 59.33 kB / 1.332 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.8792, allocations: 41.8 kB / 1.332 GB, free: 18.17 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.8793, allocations: 348.4 kB / 1.332 GB, free: 17.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.8798, allocations: 197.8 kB / 1.333 GB, free: 17.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005696/0.8804, allocations: 225.7 kB / 1.333 GB, free: 17.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.8814, allocations: 372.2 kB / 1.333 GB, free: 17.55 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.8814, allocations: 0 / 1.333 GB, free: 17.55 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0013/0.8827, allocations: 473.8 kB / 1.334 GB, free: 17.36 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.8828, allocations: 9.438 kB / 1.334 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.8828, allocations: 1.094 kB / 1.334 GB, free: 17.36 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.8828, allocations: 4.938 kB / 1.334 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.8833, allocations: 58.06 kB / 1.334 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.8833, allocations: 1.094 kB / 1.334 GB, free: 17.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.8837, allocations: 44.27 kB / 1.334 GB, free: 17.34 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.8837, allocations: 6.172 kB / 1.334 GB, free: 17.34 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001917/0.8839, allocations: 170.3 kB / 1.334 GB, free: 17.2 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-05/0.884, allocations: 36.98 kB / 1.334 GB, free: 17.18 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.444e-05/0.8841, allocations: 41.11 kB / 1.334 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.8841, allocations: 5.781 kB / 1.334 GB, free: 17.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.8841, allocations: 1.031 kB / 1.334 GB, free: 17.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.8841, allocations: 5.266 kB / 1.334 GB, free: 17.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005652/0.8847, allocations: 482.4 kB / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8847, allocations: 0 / 1.334 GB, free: 16.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004382/0.8851, allocations: 65.75 kB / 1.334 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.8851, allocations: 1.719 kB / 1.334 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.8852, allocations: 7.5 kB / 1.334 GB, free: 16.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.8852, allocations: 4.969 kB / 1.334 GB, free: 16.81 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8852, allocations: 0 / 1.334 GB, free: 16.81 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/0.8865, allocations: 0.5543 MB / 1.335 GB, free: 16.53 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.8866, allocations: 118 kB / 1.335 GB, free: 16.41 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.8867, allocations: 6.594 kB / 1.335 GB, free: 16.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003792/0.887, allocations: 37.69 kB / 1.335 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8871, allocations: 25.23 kB / 1.335 GB, free: 16.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.8872, allocations: 6.094 kB / 1.335 GB, free: 16.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003942/0.8876, allocations: 313 kB / 1.336 GB, free: 16.23 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.8876, allocations: 0 / 1.336 GB, free: 16.23 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003513/0.8879, allocations: 62.41 kB / 1.336 GB, free: 16.23 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001392/0.8893, allocations: 1.105 MB / 1.337 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001167/0.8905, allocations: 422.9 kB / 1.337 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8905, allocations: 0 / 1.337 GB, free: 15.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005802/0.8911, allocations: 219.3 kB / 1.337 GB, free: 15.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.8915, allocations: 51.28 kB / 1.337 GB, free: 15.18 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006542/0.898, allocations: 4.16 MB / 1.341 GB, free: 12.91 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.8983, allocations: 0.7994 MB / 1.342 GB, free: 12.19 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.8986, allocations: 64.77 kB / 1.342 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.8988, allocations: 105.2 kB / 1.342 GB, free: 12.1 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/0.8988, allocations: 0 / 1.342 GB, free: 12.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.9268, allocations: 8.06 MB / 1.35 GB, free: 11.29 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/9.337, allocations: 7.75 kB / 1.35 GB, free: 11.29 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.376540413999464] Failed to read output from testmodel.py, exit status != 0: 9.460936559946276 9.475482622 8.603431304 Calling exit ...