Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.000757/0.000757, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007902/0.0007902, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8556/0.8556, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.001397/0.001397, allocations: 238.5 kB / 259.4 MB, free: 13 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.6686/0.6686, allocations: 138.4 MB / 454.3 MB, free: 30.05 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_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.382e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.2262/0.2262, allocations: 1.97 MB / 0.6482 GB, free: 55.85 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.2279, allocations: 1.52 MB / 0.6497 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.835e-05/0.228, allocations: 2.469 kB / 0.6497 GB, free: 55.58 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 5.2e-05/0.2281, allocations: 19.44 kB / 0.6497 GB, free: 55.57 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/0.2281, allocations: 54.89 kB / 0.6498 GB, free: 55.54 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008602/0.229, allocations: 364 kB / 0.6501 GB, free: 55.44 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.2292, allocations: 232.1 kB / 0.6503 GB, free: 55.38 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2293, allocations: 36.73 kB / 0.6504 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2294, allocations: 123.3 kB / 0.6505 GB, free: 55.36 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.2296, allocations: 72.28 kB / 0.6506 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.2296, allocations: 18.03 kB / 0.6506 GB, free: 55.35 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005394/0.2301, allocations: 412.7 kB / 0.651 GB, free: 55.32 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.2302, allocations: 40.38 kB / 0.651 GB, free: 55.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.2302, allocations: 61.53 kB / 0.6511 GB, free: 55.3 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004599/0.2307, allocations: 491.8 kB / 0.6515 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2307, allocations: 1.781 kB / 0.6515 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2307, allocations: 0 / 0.6515 GB, free: 55.16 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2307, allocations: 0 / 0.6515 GB, free: 55.16 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.0005131/0.2312, allocations: 459.5 kB / 0.652 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2312, allocations: 12.59 kB / 0.652 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.2313, allocations: 50.58 kB / 0.652 GB, free: 54.74 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003103/0.2316, allocations: 91.59 kB / 0.6521 GB, free: 54.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.718e-05/0.2316, allocations: 131.4 kB / 0.6522 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.237e-05/0.2317, allocations: 74.67 kB / 0.6523 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.2317, allocations: 16.91 kB / 0.6523 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.232, allocations: 241.3 kB / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.232, allocations: 192 / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2321, allocations: 7.688 kB / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2321, allocations: 7.656 kB / 0.6526 GB, free: 54.36 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.2322, allocations: 129.3 kB / 0.6527 GB, free: 54.32 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008411/0.2331, allocations: 0.6353 MB / 0.6533 GB, free: 53.89 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009452/0.234, allocations: 324.3 kB / 0.6536 GB, free: 53.82 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001135/0.2341, allocations: 76.2 kB / 0.6537 GB, free: 53.79 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.2344, allocations: 73.55 kB / 0.6538 GB, free: 53.78 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.527e-05/0.2344, allocations: 41.69 kB / 0.6538 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.133e-06/0.2344, allocations: 0 / 0.6538 GB, free: 53.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0008701/0.2353, allocations: 388.2 kB / 0.6542 GB, free: 53.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.786e-05/0.2353, allocations: 54.94 kB / 0.6542 GB, free: 53.54 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.152e-05/0.2354, allocations: 160.1 kB / 0.6544 GB, free: 53.42 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.2354, allocations: 27.64 kB / 0.6544 GB, free: 53.39 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.2354, allocations: 118.7 kB / 0.6545 GB, free: 53.28 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.2354, allocations: 60.5 kB / 0.6546 GB, free: 53.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.2355, allocations: 38.86 kB / 0.6546 GB, free: 53.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 3.033e-05/0.2355, allocations: 330.5 kB / 0.6549 GB, free: 52.88 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.2356, allocations: 78.67 kB / 0.655 GB, free: 52.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.2357, allocations: 89.67 kB / 0.6551 GB, free: 52.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.236, allocations: 157 kB / 0.6552 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.236, allocations: 6.5 kB / 0.6553 GB, free: 52.75 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000454/0.2364, allocations: 285.3 kB / 0.6555 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2364, allocations: 6.328 kB / 0.6555 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2364, allocations: 0 / 0.6555 GB, free: 52.63 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003237/0.2368, allocations: 127.5 kB / 0.6557 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.2373, allocations: 101.6 kB / 0.6558 GB, free: 52.59 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003808/0.2377, allocations: 0.6295 MB / 0.6564 GB, free: 52.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.048e-05/0.2377, allocations: 31.44 kB / 0.6564 GB, free: 52.02 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.2378, allocations: 5.219 kB / 0.6564 GB, free: 52.02 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 6.029e-05/0.2378, allocations: 122.1 kB / 0.6565 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.2378, allocations: 15.84 kB / 0.6565 GB, free: 51.89 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004782/0.2383, allocations: 293.5 kB / 0.6568 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.2383, allocations: 5.625 kB / 0.6568 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2383, allocations: 0 / 0.6568 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2383, allocations: 1.125 kB / 0.6568 GB, free: 51.76 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008876/0.2392, allocations: 0.675 MB / 0.6575 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2392, allocations: 2.125 kB / 0.6575 GB, free: 51.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.2397, allocations: 100.8 kB / 0.6576 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.24, allocations: 125.4 kB / 0.6577 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.24, allocations: 2.219 kB / 0.6577 GB, free: 51.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003443/0.2403, allocations: 0.6327 MB / 0.6583 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2404, allocations: 1.719 kB / 0.6583 GB, free: 50.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004264/0.2408, allocations: 367.2 kB / 0.6587 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.2408, allocations: 17.33 kB / 0.6587 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.097e-05/0.2408, allocations: 5.938 kB / 0.6587 GB, free: 50.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2409, allocations: 19.12 kB / 0.6587 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.2409, allocations: 12.91 kB / 0.6587 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.241, allocations: 8.75 kB / 0.6587 GB, free: 50.48 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.445e-05/0.241, allocations: 123.8 kB / 0.6588 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.241, allocations: 0 / 0.6588 GB, free: 50.39 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002758/0.2413, allocations: 127.7 kB / 0.659 GB, free: 50.36 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.0007642/0.242, allocations: 1.037 MB / 0.66 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004645/0.2425, allocations: 218.6 kB / 0.6602 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2425, allocations: 1.594 kB / 0.6602 GB, free: 49.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000263/0.2428, allocations: 131.6 kB / 0.6603 GB, free: 49.46 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2431, allocations: 48.83 kB / 0.6604 GB, free: 49.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001957/0.245, allocations: 2.228 MB / 0.6625 GB, free: 47.85 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.027e-05/0.2451, allocations: 98.86 kB / 0.6626 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.782e-05/0.2451, allocations: 22.08 kB / 0.6627 GB, free: 47.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.2452, allocations: 42.69 kB / 0.6627 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of SimCode: time 4.81e-07/0.2452, allocations: 0 / 0.6627 GB, free: 47.75 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.2633, allocations: 7.729 MB / 0.6702 GB, free: 46.41 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/7.923, allocations: 9.359 kB / 0.6703 GB, free: 46.41 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_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_ZeroInput.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.51699922978878] Failed to read output from testmodel.py, exit status != 0: 8.01432005688548 8.026664362 7.79411704 Calling exit ...