Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0007319/0.0007319, allocations: 68.47 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008282/0.0008282, allocations: 173.9 kB / 22.46 MB, free: 2.09 MB / 18.57 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 0.8537/0.8537, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.002197/0.002197, allocations: 229.1 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6726/0.6726, allocations: 138.4 MB / 454.3 MB, free: 29.98 MB / 410.7 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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.954e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.2285/0.2286, allocations: 1.97 MB / 0.6482 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.2305, allocations: 1.518 MB / 0.6497 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.178e-05/0.2306, allocations: 7.141 kB / 0.6497 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 6.32e-05/0.2307, allocations: 18.94 kB / 0.6497 GB, free: 55.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.397e-05/0.2308, allocations: 50.61 kB / 0.6498 GB, free: 55.53 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.2319, allocations: 371.1 kB / 0.6501 GB, free: 55.43 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.2321, allocations: 227.6 kB / 0.6503 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.2323, allocations: 34.33 kB / 0.6504 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2324, allocations: 121 kB / 0.6505 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.2326, allocations: 66.92 kB / 0.6505 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.2326, allocations: 18.41 kB / 0.6506 GB, free: 55.34 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007029/0.2333, allocations: 415.7 kB / 0.651 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.362e-05/0.2334, allocations: 43.62 kB / 0.651 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.612e-05/0.2334, allocations: 64.95 kB / 0.6511 GB, free: 55.29 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005032/0.2339, allocations: 492 kB / 0.6515 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.2339, allocations: 0 / 0.6515 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2339, allocations: 0.5 kB / 0.6515 GB, free: 55.15 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2339, allocations: 1.156 kB / 0.6515 GB, free: 55.15 MB / 0.5573 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.0007651/0.2347, allocations: 455.3 kB / 0.652 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2347, allocations: 12.53 kB / 0.652 GB, free: 54.78 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.95e-05/0.2348, allocations: 53.48 kB / 0.652 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.2351, allocations: 88.94 kB / 0.6521 GB, free: 54.72 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.386e-05/0.2352, allocations: 126.3 kB / 0.6522 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.769e-05/0.2352, allocations: 81 kB / 0.6523 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.2353, allocations: 13.41 kB / 0.6523 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.2356, allocations: 241.6 kB / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2356, allocations: 1.25 kB / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.2356, allocations: 5.969 kB / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2356, allocations: 9.438 kB / 0.6526 GB, free: 54.35 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.2358, allocations: 139.8 kB / 0.6527 GB, free: 54.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.2367, allocations: 0.638 MB / 0.6533 GB, free: 53.88 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.2377, allocations: 320.1 kB / 0.6536 GB, free: 53.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.2379, allocations: 79.61 kB / 0.6537 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.2381, allocations: 72.12 kB / 0.6538 GB, free: 53.77 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.2381, allocations: 39.14 kB / 0.6538 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/0.2381, allocations: 0 / 0.6538 GB, free: 53.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.001061/0.2392, allocations: 396.2 kB / 0.6542 GB, free: 53.59 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.2392, allocations: 56.53 kB / 0.6542 GB, free: 53.52 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.363e-05/0.2393, allocations: 151.4 kB / 0.6544 GB, free: 53.41 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2393, allocations: 31.7 kB / 0.6544 GB, free: 53.38 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.2394, allocations: 118.8 kB / 0.6545 GB, free: 53.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.2394, allocations: 48.53 kB / 0.6546 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.2395, allocations: 42.64 kB / 0.6546 GB, free: 53.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.2395, allocations: 326.7 kB / 0.6549 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.2396, allocations: 79.34 kB / 0.655 GB, free: 52.85 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.2397, allocations: 87.98 kB / 0.6551 GB, free: 52.81 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.24, allocations: 153.5 kB / 0.6552 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.24, allocations: 1.938 kB / 0.6552 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004975/0.2405, allocations: 294.2 kB / 0.6555 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.2405, allocations: 5.594 kB / 0.6555 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.2405, allocations: 0 / 0.6555 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003916/0.2409, allocations: 120.2 kB / 0.6556 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006525/0.2415, allocations: 109.2 kB / 0.6557 GB, free: 52.58 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000476/0.242, allocations: 0.6356 MB / 0.6564 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.2421, allocations: 20.77 kB / 0.6564 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.2422, allocations: 9.016 kB / 0.6564 GB, free: 52.01 MB / 0.5573 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 8.608e-05/0.2422, allocations: 121.6 kB / 0.6565 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.2423, allocations: 14.75 kB / 0.6565 GB, free: 51.88 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005952/0.2429, allocations: 291.3 kB / 0.6568 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.2429, allocations: 5.5 kB / 0.6568 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2429, allocations: 2.734 kB / 0.6568 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.2429, allocations: 0 / 0.6568 GB, free: 51.75 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.2439, allocations: 0.6827 MB / 0.6575 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2439, allocations: 3.375 kB / 0.6575 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.2445, allocations: 91.55 kB / 0.6576 GB, free: 51.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003231/0.2448, allocations: 128.6 kB / 0.6577 GB, free: 51.28 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.2448, allocations: 7.812 kB / 0.6577 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003838/0.2452, allocations: 0.6289 MB / 0.6583 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2452, allocations: 1.625 kB / 0.6583 GB, free: 50.72 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.2457, allocations: 364.1 kB / 0.6587 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.2457, allocations: 22.77 kB / 0.6587 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.2457, allocations: 2.453 kB / 0.6587 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.2459, allocations: 21.52 kB / 0.6587 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.15e-05/0.2459, allocations: 9.609 kB / 0.6587 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.2459, allocations: 6.297 kB / 0.6587 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.2459, allocations: 122.3 kB / 0.6588 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2459, allocations: 0 / 0.6588 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004184/0.2464, allocations: 131.1 kB / 0.659 GB, free: 50.35 MB / 0.5573 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.0008703/0.2472, allocations: 1.037 MB / 0.66 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0005252/0.2478, allocations: 219.4 kB / 0.6602 GB, free: 49.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2478, allocations: 4 kB / 0.6602 GB, free: 49.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002782/0.248, allocations: 130.8 kB / 0.6603 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.2484, allocations: 46.53 kB / 0.6604 GB, free: 49.44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.2505, allocations: 2.208 MB / 0.6625 GB, free: 47.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.818e-05/0.2506, allocations: 97.62 kB / 0.6626 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.449e-05/0.2507, allocations: 27.34 kB / 0.6626 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.595e-05/0.2507, allocations: 42.23 kB / 0.6627 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/0.2507, allocations: 1.938 kB / 0.6627 GB, free: 47.74 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.274, allocations: 7.707 MB / 0.6702 GB, free: 46.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.608/7.882, allocations: 9.156 kB / 0.6702 GB, free: 46.4 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.506049036048353] Failed to read output from testmodel.py, exit status != 0: 7.970869138836861 7.980475408 7.74372232 Calling exit ...