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.001231/0.001231, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001318/0.001318, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.395/1.395, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.002307/0.002307, allocations: 280.8 kB / 309.8 MB, free: 3.434 MB / 238.1 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 1.016/1.016, allocations: 180.6 MB / 0.5338 GB, free: 12.34 MB / 398.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.00282/0.00282, allocations: 95.84 kB / 0.7347 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4836/0.4864, allocations: 95.34 MB / 0.8278 GB, free: 3.012 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002819/0.4893, allocations: 2.04 MB / 0.8298 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.4914, allocations: 1.692 MB / 0.8314 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.4914, allocations: 0 / 0.8314 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 6.639e-05/0.4915, allocations: 20.2 kB / 0.8314 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.4916, allocations: 49.11 kB / 0.8315 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.4926, allocations: 356.4 kB / 0.8318 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.4929, allocations: 227.1 kB / 0.832 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.493, allocations: 34.97 kB / 0.8321 GB, free: 44 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.4931, allocations: 79.11 kB / 0.8322 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.4933, allocations: 89.31 kB / 0.8322 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.922e-05/0.4933, allocations: 16.66 kB / 0.8323 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008774/0.4942, allocations: 425.1 kB / 0.8327 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.4942, allocations: 38.14 kB / 0.8327 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 8.809e-05/0.4943, allocations: 89.86 kB / 0.8328 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006009/0.4949, allocations: 448.7 kB / 0.8332 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4949, allocations: 0 / 0.8332 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4949, allocations: 0 / 0.8332 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.4949, allocations: 0 / 0.8332 GB, free: 15.61 MB / 0.5919 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.0008507/0.4958, allocations: 0.5178 MB / 0.8337 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.4958, allocations: 13.03 kB / 0.8337 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.287e-05/0.4958, allocations: 10.86 kB / 0.8337 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.268e-05/0.4959, allocations: 47.78 kB / 0.8338 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005826/0.4965, allocations: 94.12 kB / 0.8339 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.4967, allocations: 182 kB / 0.834 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.4967, allocations: 44.34 kB / 0.8341 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.4968, allocations: 21.66 kB / 0.8341 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.4972, allocations: 181.7 kB / 0.8343 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.4972, allocations: 0 / 0.8343 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.4972, allocations: 6.844 kB / 0.8343 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.4972, allocations: 7.25 kB / 0.8343 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004721/0.4977, allocations: 182.8 kB / 0.8345 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.4991, allocations: 0.9183 MB / 0.8354 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/0.4997, allocations: 162.2 kB / 0.8355 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.4999, allocations: 66.75 kB / 0.8356 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007175/0.5006, allocations: 0.5193 MB / 0.8361 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.5006, allocations: 37 kB / 0.8361 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.5006, allocations: 0 / 0.8361 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=14): time 0.0007306/0.5013, allocations: 236.3 kB / 0.8364 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.5014, allocations: 55.41 kB / 0.8364 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.5015, allocations: 163 kB / 0.8366 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.5016, allocations: 31.45 kB / 0.8366 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.942e-05/0.5016, allocations: 113.2 kB / 0.8367 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.818e-05/0.5017, allocations: 54.58 kB / 0.8368 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.669e-05/0.5018, allocations: 34.41 kB / 0.8368 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5019, allocations: 332.3 kB / 0.8371 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.5021, allocations: 73.75 kB / 0.8372 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.5024, allocations: 98.94 kB / 0.8373 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.5027, allocations: 146.1 kB / 0.8374 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5027, allocations: 1.5 kB / 0.8374 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005187/0.5033, allocations: 219.4 kB / 0.8376 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5033, allocations: 5.125 kB / 0.8376 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5033, allocations: 0 / 0.8376 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.5033, allocations: 2.422 kB / 0.8376 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.5035, allocations: 38.59 kB / 0.8377 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5035, allocations: 2.406 kB / 0.8377 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.5037, allocations: 28.27 kB / 0.8377 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.5038, allocations: 5.422 kB / 0.8377 GB, free: 12.05 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.5039, allocations: 129.6 kB / 0.8378 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.5039, allocations: 14.38 kB / 0.8378 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/0.5045, allocations: 199.6 kB / 0.838 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5045, allocations: 3.969 kB / 0.838 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.5045, allocations: 0 / 0.838 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5045, allocations: 5.578 kB / 0.838 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.506, allocations: 0.9853 MB / 0.839 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.506, allocations: 1.156 kB / 0.839 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.5062, allocations: 33.05 kB / 0.839 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.5062, allocations: 0.5625 kB / 0.839 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.5062, allocations: 7.844 kB / 0.839 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5062, allocations: 0.6562 kB / 0.839 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5062, allocations: 9.219 kB / 0.839 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.5067, allocations: 289.2 kB / 0.8393 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.5068, allocations: 84.52 kB / 0.8394 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.037e-05/0.5068, allocations: 2.094 kB / 0.8394 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.507, allocations: 20.2 kB / 0.8394 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.601e-05/0.5071, allocations: 19.34 kB / 0.8394 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.5071, allocations: 2.938 kB / 0.8394 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.217e-05/0.5072, allocations: 123.1 kB / 0.8396 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5072, allocations: 0 / 0.8396 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00049/0.5077, allocations: 132.1 kB / 0.8397 GB, free: 10.46 MB / 0.5919 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.5088, allocations: 0.9532 MB / 0.8406 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000481/0.5093, allocations: 163.2 kB / 0.8408 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5093, allocations: 4.062 kB / 0.8408 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.5095, allocations: 74.62 kB / 0.8408 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.5099, allocations: 46.34 kB / 0.8409 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.5128, allocations: 2.066 MB / 0.8429 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.5131, allocations: 0.707 MB / 0.8436 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000133/0.5132, allocations: 33.75 kB / 0.8436 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5133, allocations: 46.88 kB / 0.8437 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.5133, allocations: 3.938 kB / 0.8437 GB, free: 7.273 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.538, allocations: 6.187 MB / 0.8497 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.999/8.537, allocations: 13.03 kB / 0.8497 GB, free: 6.555 MB / 0.5919 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.284595448989421] Failed to read output from testmodel.py, exit status != 0: 8.66116563603282 8.675851895 8.177974687 Calling exit ...