Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.001456/0.001456, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001808/0.001808, allocations: 212.3 kB / 22.24 MB, free: 5.242 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.812 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 3.115/3.115, allocations: 0.4892 GB / 0.7943 GB, free: 35.64 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.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",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.002031/0.002031, allocations: 68.92 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3337, allocations: 176.1 MB / 1.325 GB, free: 2.395 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003768/0.3375, allocations: 1.987 MB / 1.327 GB, free: 412 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002735/0.3402, allocations: 1.526 MB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.3403, allocations: 4 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.571e-05/0.3404, allocations: 15.8 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.3406, allocations: 51.55 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.3418, allocations: 366.8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.3421, allocations: 231 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.3423, allocations: 33.89 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.3424, allocations: 79.83 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.3426, allocations: 79.67 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.3427, allocations: 16 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000904/0.3436, allocations: 403.5 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.896e-05/0.3436, allocations: 43.91 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.597e-05/0.3437, allocations: 75.7 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008341/0.3445, allocations: 446.6 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3446, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3446, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.3446, allocations: 0 / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009756/0.3455, allocations: 453.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3456, allocations: 12.03 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.868e-05/0.3457, allocations: 46.73 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005933/0.3462, allocations: 92.75 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3464, allocations: 126.3 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.3465, allocations: 71.97 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.3466, allocations: 20.38 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005155/0.3471, allocations: 245.1 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3471, allocations: 3.984 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.3471, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3471, allocations: 7.938 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.3474, allocations: 131.9 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.349, allocations: 0.6413 MB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.351, allocations: 322.2 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.3512, allocations: 84.81 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004627/0.3517, allocations: 67.92 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3517, allocations: 34.56 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.3517, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001715/0.3534, allocations: 398.3 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.3535, allocations: 51.41 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3536, allocations: 154.2 kB / 1.333 GB, free: 9.945 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3537, allocations: 33.69 kB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.061e-05/0.3538, allocations: 115.9 kB / 1.333 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.747e-05/0.3538, allocations: 55.53 kB / 1.333 GB, free: 9.734 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.956e-05/0.3539, allocations: 41.66 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.354, allocations: 330.7 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.3543, allocations: 79.95 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/0.3545, allocations: 85.84 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.3549, allocations: 152.8 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3549, allocations: 0 / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009028/0.3558, allocations: 296.2 kB / 1.334 GB, free: 8.746 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.3558, allocations: 4 kB / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3558, allocations: 0 / 1.334 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/0.3564, allocations: 127.3 kB / 1.334 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.3576, allocations: 111.9 kB / 1.334 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000894/0.3585, allocations: 0.6187 MB / 1.335 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.3587, allocations: 31.88 kB / 1.335 GB, free: 7.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.3587, allocations: 7.984 kB / 1.335 GB, free: 7.824 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.3589, allocations: 125.8 kB / 1.335 GB, free: 7.691 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.3589, allocations: 15.89 kB / 1.335 GB, free: 7.676 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000923/0.3598, allocations: 282.9 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3598, allocations: 4 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3599, allocations: 0 / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.3599, allocations: 4 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.3617, allocations: 0.6805 MB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3617, allocations: 4.062 kB / 1.336 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.3629, allocations: 87.97 kB / 1.336 GB, free: 6.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.3634, allocations: 127.1 kB / 1.336 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.3634, allocations: 4 kB / 1.336 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008761/0.3643, allocations: 0.6342 MB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3643, allocations: 0 / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.3652, allocations: 377.7 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.3653, allocations: 11.89 kB / 1.337 GB, free: 5.355 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.3653, allocations: 4 kB / 1.337 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.3656, allocations: 11.98 kB / 1.337 GB, free: 5.34 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3656, allocations: 19.97 kB / 1.337 GB, free: 5.32 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.3656, allocations: 4 kB / 1.337 GB, free: 5.316 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001039/0.3657, allocations: 123.2 kB / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3657, allocations: 0 / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005035/0.3662, allocations: 127.6 kB / 1.338 GB, free: 5.07 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00165/0.3679, allocations: 1.034 MB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009206/0.3688, allocations: 215.8 kB / 1.339 GB, free: 3.793 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.3688, allocations: 0 / 1.339 GB, free: 3.793 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.3694, allocations: 131.8 kB / 1.339 GB, free: 3.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.3698, allocations: 57.84 kB / 1.339 GB, free: 3.609 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.3738, allocations: 2.207 MB / 1.341 GB, free: 1.305 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001049/0.3739, allocations: 102.9 kB / 1.341 GB, free: 1.184 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001304/0.374, allocations: 21.48 kB / 1.341 GB, free: 1.164 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.3741, allocations: 39.42 kB / 1.341 GB, free: 1.125 MB / 1.029 GB Notification: Performance of SimCode: time 9.72e-07/0.3741, allocations: 0 / 1.341 GB, free: 1.125 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04761/0.4217, allocations: 7.563 MB / 1.349 GB, free: 9.777 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.88, allocations: 11.33 kB / 1.349 GB, free: 9.77 MB / 1.045 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_12_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_12_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.46944268886] Failed to read output from testmodel.py, exit status != 0: 13.002967003267258 13.022238751 12.673789446 Calling exit ...