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.0008673/0.0008673, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008098/0.0008098, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9294/0.9294, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.9 MB / 0.6221 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.981 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.089e-05/2.294e-05, allocations: 5.234 kB / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003052/0.003075, allocations: 2.001 MB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.005444, allocations: 1.518 MB / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.553e-05/0.005519, allocations: 4 kB / 0.9844 GB, free: 15.07 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 6.854e-05/0.005588, allocations: 23.78 kB / 0.9844 GB, free: 15.05 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.005695, allocations: 55.48 kB / 0.9845 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.006715, allocations: 362.6 kB / 0.9848 GB, free: 14.64 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002125/0.006927, allocations: 231 kB / 0.985 GB, free: 14.41 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.007071, allocations: 33.61 kB / 0.9851 GB, free: 14.38 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.007245, allocations: 131.7 kB / 0.9852 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.007377, allocations: 67.86 kB / 0.9853 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.068e-05/0.007408, allocations: 16 kB / 0.9853 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006678/0.008076, allocations: 411.3 kB / 0.9857 GB, free: 13.76 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.295e-05/0.008119, allocations: 43.89 kB / 0.9857 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.35e-05/0.008182, allocations: 63.89 kB / 0.9858 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005731/0.008755, allocations: 490.6 kB / 0.9862 GB, free: 13.18 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.00876, allocations: 4 kB / 0.9862 GB, free: 13.17 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.243e-06/0.008761, allocations: 0 / 0.9862 GB, free: 13.17 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.008766, allocations: 0 / 0.9862 GB, free: 13.17 MB / 0.948 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.0007012/0.009467, allocations: 457.2 kB / 0.9867 GB, free: 12.69 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.009513, allocations: 12.03 kB / 0.9867 GB, free: 12.68 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.058e-05/0.009564, allocations: 46.73 kB / 0.9867 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.009997, allocations: 92.73 kB / 0.9868 GB, free: 12.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.01015, allocations: 121.6 kB / 0.9869 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.01025, allocations: 75.89 kB / 0.987 GB, free: 12.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.01028, allocations: 20.38 kB / 0.987 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/0.01068, allocations: 242.1 kB / 0.9873 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.01069, allocations: 4.125 kB / 0.9873 GB, free: 12.03 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.01071, allocations: 4.375 kB / 0.9873 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.01072, allocations: 7.938 kB / 0.9873 GB, free: 12.02 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.01098, allocations: 127.8 kB / 0.9874 GB, free: 11.89 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.01219, allocations: 0.6453 MB / 0.988 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.0136, allocations: 322.2 kB / 0.9883 GB, free: 10.88 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.01377, allocations: 76.81 kB / 0.9884 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003244/0.01409, allocations: 75.92 kB / 0.9885 GB, free: 10.72 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.01412, allocations: 38.48 kB / 0.9885 GB, free: 10.68 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/0.01413, allocations: 0 / 0.9885 GB, free: 10.68 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.001323/0.01545, allocations: 385.1 kB / 0.9889 GB, free: 10.29 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.01549, allocations: 55.41 kB / 0.9889 GB, free: 10.23 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.01561, allocations: 164.1 kB / 0.9891 GB, free: 10.06 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.01564, allocations: 33.7 kB / 0.9891 GB, free: 10.02 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.01571, allocations: 115.9 kB / 0.9892 GB, free: 9.902 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.01575, allocations: 59.52 kB / 0.9893 GB, free: 9.844 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.01582, allocations: 33.7 kB / 0.9893 GB, free: 9.805 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.419e-05/0.01591, allocations: 330.8 kB / 0.9896 GB, free: 9.473 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.01609, allocations: 79.95 kB / 0.9897 GB, free: 9.395 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.01627, allocations: 82.53 kB / 0.9898 GB, free: 9.316 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003284/0.0166, allocations: 160.8 kB / 0.99 GB, free: 9.156 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.0166, allocations: 0 / 0.99 GB, free: 9.156 MB / 0.948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006989/0.0173, allocations: 292.6 kB / 0.9902 GB, free: 8.863 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01732, allocations: 4 kB / 0.9902 GB, free: 8.859 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.01732, allocations: 0 / 0.9902 GB, free: 8.859 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/0.01789, allocations: 120.8 kB / 0.9904 GB, free: 8.738 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.0187, allocations: 103.9 kB / 0.9905 GB, free: 8.637 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006482/0.01935, allocations: 0.6303 MB / 0.9911 GB, free: 7.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.01949, allocations: 27.92 kB / 0.9911 GB, free: 7.953 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.0195, allocations: 7.984 kB / 0.9911 GB, free: 7.945 MB / 0.948 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.0001083/0.01961, allocations: 125.8 kB / 0.9912 GB, free: 7.812 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.01965, allocations: 11.91 kB / 0.9912 GB, free: 7.801 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000732/0.02038, allocations: 292.1 kB / 0.9915 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.02039, allocations: 0 / 0.9915 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.02039, allocations: 0 / 0.9915 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.0204, allocations: 4 kB / 0.9915 GB, free: 7.508 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.02184, allocations: 0.6716 MB / 0.9922 GB, free: 6.777 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.02184, allocations: 3.984 kB / 0.9922 GB, free: 6.773 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000648/0.02249, allocations: 96.03 kB / 0.9923 GB, free: 6.68 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.02284, allocations: 128.6 kB / 0.9924 GB, free: 6.551 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.02286, allocations: 4 kB / 0.9924 GB, free: 6.547 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004725/0.02333, allocations: 0.6342 MB / 0.993 GB, free: 5.887 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.02334, allocations: 0 / 0.993 GB, free: 5.887 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.02383, allocations: 369.7 kB / 0.9934 GB, free: 5.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.305e-05/0.02385, allocations: 7.953 kB / 0.9934 GB, free: 5.492 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.02388, allocations: 12 kB / 0.9934 GB, free: 5.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.024, allocations: 11.98 kB / 0.9934 GB, free: 5.469 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.02403, allocations: 15.97 kB / 0.9934 GB, free: 5.453 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.02404, allocations: 8 kB / 0.9934 GB, free: 5.445 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.02411, allocations: 117.1 kB / 0.9935 GB, free: 5.332 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.02411, allocations: 0 / 0.9935 GB, free: 5.332 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003462/0.02445, allocations: 135.5 kB / 0.9937 GB, free: 5.199 MB / 0.948 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.0009418/0.0254, allocations: 1.044 MB / 0.9947 GB, free: 4.125 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004791/0.02587, allocations: 215.7 kB / 0.9949 GB, free: 3.914 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.02588, allocations: 0 / 0.9949 GB, free: 3.914 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/0.02613, allocations: 128 kB / 0.995 GB, free: 3.789 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.02649, allocations: 47.89 kB / 0.9951 GB, free: 3.742 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.02868, allocations: 2.208 MB / 0.9972 GB, free: 1.434 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.297e-05/0.02874, allocations: 102.9 kB / 0.9973 GB, free: 1.312 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.781e-05/0.02882, allocations: 20 kB / 0.9973 GB, free: 1.289 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.02894, allocations: 44.48 kB / 0.9974 GB, free: 1.246 MB / 0.948 GB Notification: Performance of SimCode: time 7.31e-07/0.02894, allocations: 0 / 0.9974 GB, free: 1.246 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.04725, allocations: 7.709 MB / 1.005 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/7.826, allocations: 0.5 kB / 1.005 GB, free: 9.777 MB / 0.9636 GB " [Timeout remaining time 292] (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: 12.095233029685915] Failed to read output from testmodel.py, exit status != 0: 7.916115220636129 7.925555872 7.914973447 Calling exit ...