Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001282/0.001282, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00141/0.00141, allocations: 219.3 kB / 23.03 MB, free: 4.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.394/1.394, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7999/0.7999, allocations: 134 MB / 447.2 MB, free: 9.898 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001878/0.001878, allocations: 63.06 kB / 0.6192 GB, free: 6.883 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1646, allocations: 85.91 MB / 0.7031 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003571/0.1681, allocations: 1.961 MB / 0.7051 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002457/0.1706, allocations: 1.523 MB / 0.7065 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.1706, allocations: 0 / 0.7065 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.653e-05/0.1707, allocations: 19.8 kB / 0.7066 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.1708, allocations: 51.55 kB / 0.7066 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.172, allocations: 354.8 kB / 0.707 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000265/0.1723, allocations: 223 kB / 0.7072 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.1724, allocations: 45.59 kB / 0.7072 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.1725, allocations: 79.83 kB / 0.7073 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1727, allocations: 87.67 kB / 0.7074 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.104e-05/0.1727, allocations: 24 kB / 0.7074 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008449/0.1736, allocations: 423.5 kB / 0.7078 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.245e-05/0.1736, allocations: 35.91 kB / 0.7078 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.1737, allocations: 75.72 kB / 0.7079 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006677/0.1744, allocations: 446.5 kB / 0.7083 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1744, allocations: 4 kB / 0.7083 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1744, allocations: 0 / 0.7083 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.1744, allocations: 0 / 0.7083 GB, free: 11.72 MB / 0.5294 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.0008289/0.1752, allocations: 457.2 kB / 0.7088 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.1753, allocations: 8.031 kB / 0.7088 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.497e-05/0.1753, allocations: 8.359 kB / 0.7088 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.1753, allocations: 54.73 kB / 0.7088 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/0.1759, allocations: 84.75 kB / 0.7089 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.176, allocations: 130.3 kB / 0.709 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.1761, allocations: 79.72 kB / 0.7091 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.1762, allocations: 12 kB / 0.7091 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.1766, allocations: 249.9 kB / 0.7094 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1767, allocations: 4 kB / 0.7094 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1767, allocations: 11.94 kB / 0.7094 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1767, allocations: 8 kB / 0.7094 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003108/0.177, allocations: 127.9 kB / 0.7095 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.1785, allocations: 0.6448 MB / 0.7101 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.1804, allocations: 326.2 kB / 0.7105 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.1806, allocations: 80.81 kB / 0.7105 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004614/0.1811, allocations: 71.92 kB / 0.7106 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.1811, allocations: 34.56 kB / 0.7106 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.1811, allocations: 0 / 0.7106 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.001616/0.1827, allocations: 389.8 kB / 0.711 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.1828, allocations: 51.41 kB / 0.7111 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.1829, allocations: 160.4 kB / 0.7112 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.1829, allocations: 33.7 kB / 0.7112 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.183, allocations: 116 kB / 0.7113 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.1831, allocations: 55.52 kB / 0.7114 GB, free: 8.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.1832, allocations: 41.66 kB / 0.7114 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1833, allocations: 322.8 kB / 0.7117 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1835, allocations: 79.95 kB / 0.7118 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002006/0.1837, allocations: 83.95 kB / 0.7119 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003902/0.1841, allocations: 155.4 kB / 0.7121 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1841, allocations: 0 / 0.7121 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008732/0.185, allocations: 294.2 kB / 0.7123 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.185, allocations: 11.94 kB / 0.7123 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.185, allocations: 0 / 0.7123 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005757/0.1856, allocations: 120.8 kB / 0.7125 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.1867, allocations: 103.9 kB / 0.7126 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008549/0.1875, allocations: 0.6265 MB / 0.7132 GB, free: 6.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1877, allocations: 23.88 kB / 0.7132 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.1877, allocations: 11.98 kB / 0.7132 GB, free: 6.48 MB / 0.5294 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.0001415/0.1879, allocations: 133.7 kB / 0.7133 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.1879, allocations: 15.89 kB / 0.7133 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008621/0.1888, allocations: 280.5 kB / 0.7136 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.1888, allocations: 8 kB / 0.7136 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1888, allocations: 0 / 0.7136 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1888, allocations: 3.984 kB / 0.7136 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001763/0.1906, allocations: 0.6715 MB / 0.7143 GB, free: 5.309 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.1906, allocations: 4 kB / 0.7143 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.1917, allocations: 99.95 kB / 0.7144 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004814/0.1921, allocations: 123.1 kB / 0.7145 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.1922, allocations: 4 kB / 0.7145 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008002/0.193, allocations: 0.6342 MB / 0.7151 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.193, allocations: 0 / 0.7151 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008684/0.1938, allocations: 369.7 kB / 0.7155 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.1939, allocations: 15.89 kB / 0.7155 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.678e-05/0.1939, allocations: 8 kB / 0.7155 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1941, allocations: 15.97 kB / 0.7155 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.1942, allocations: 16.2 kB / 0.7155 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.1942, allocations: 4 kB / 0.7155 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.597e-05/0.1943, allocations: 121.1 kB / 0.7156 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1943, allocations: 4 kB / 0.7157 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004673/0.1947, allocations: 127.6 kB / 0.7158 GB, free: 3.73 MB / 0.5294 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.001542/0.1963, allocations: 1.023 MB / 0.7168 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0008684/0.1971, allocations: 225.7 kB / 0.717 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.1971, allocations: 0 / 0.717 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.1977, allocations: 127.9 kB / 0.7171 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.1982, allocations: 35.97 kB / 0.7171 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003642/0.2018, allocations: 2.212 MB / 0.7193 GB, free: 15.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.087e-05/0.2019, allocations: 102.9 kB / 0.7194 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.202, allocations: 24.77 kB / 0.7194 GB, free: 15.84 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.2021, allocations: 39.42 kB / 0.7195 GB, free: 15.8 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.2021, allocations: 0 / 0.7195 GB, free: 15.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.231, allocations: 7.225 MB / 0.7265 GB, free: 8.809 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/12.92, allocations: 6.297 kB / 0.7265 GB, free: 8.805 MB / 0.545 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.383953409967944] Failed to read output from testmodel.py, exit status != 0: 13.086901357979514 13.102213518 12.924878067 Calling exit ...