Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007531/0.007531, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 473.4 MB / 0.7469 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005686/0.0005686, allocations: 15.19 kB / 0.9158 GB, free: 33.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3784/0.379, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002535/0.3816, allocations: 1.742 MB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.3841, allocations: 1.72 MB / 1.078 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.23e-05/0.3841, allocations: 0 / 1.078 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.077e-05/0.3842, allocations: 15.91 kB / 1.078 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.3843, allocations: 39.62 kB / 1.078 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008571/0.3852, allocations: 287.2 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.3854, allocations: 219.1 kB / 1.078 GB, free: 3.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3856, allocations: 37.47 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.3857, allocations: 75.77 kB / 1.078 GB, free: 3.457 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.3858, allocations: 75.73 kB / 1.078 GB, free: 3.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.3859, allocations: 12 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007308/0.3866, allocations: 387.5 kB / 1.079 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.3866, allocations: 35.83 kB / 1.079 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.213e-05/0.3867, allocations: 109.4 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005297/0.3873, allocations: 419.1 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3873, allocations: 0 / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.235e-06/0.3873, allocations: 0 / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.3873, allocations: 0 / 1.079 GB, free: 2.434 MB / 0.8262 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.0007786/0.3881, allocations: 491.2 kB / 1.08 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.3881, allocations: 16.03 kB / 1.08 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/0.3888, allocations: 100.6 kB / 1.08 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3889, allocations: 180.1 kB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.389, allocations: 50.25 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.389, allocations: 12.38 kB / 1.08 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.3895, allocations: 194 kB / 1.08 GB, free: 1.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3895, allocations: 3.938 kB / 1.08 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.3895, allocations: 8 kB / 1.08 GB, free: 1.301 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.3895, allocations: 4 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.39, allocations: 191.8 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.3914, allocations: 0.9109 MB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.392, allocations: 190.5 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002248/0.3923, allocations: 80.83 kB / 1.081 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/0.3929, allocations: 0.522 MB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.393, allocations: 38.55 kB / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.393, allocations: 0 / 1.082 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=14): time 0.0007519/0.3937, allocations: 245.8 kB / 1.082 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.3938, allocations: 51.41 kB / 1.082 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3939, allocations: 173.1 kB / 1.082 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.394, allocations: 29.7 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3941, allocations: 123.8 kB / 1.083 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.3942, allocations: 47.36 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.789e-05/0.3942, allocations: 21.66 kB / 1.083 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3943, allocations: 326.8 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.3946, allocations: 75.95 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.3948, allocations: 98.88 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004207/0.3952, allocations: 159.5 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3953, allocations: 7.938 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000523/0.3958, allocations: 214.8 kB / 1.084 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3958, allocations: 4 kB / 1.084 GB, free: 13.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.3958, allocations: 4 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3958, allocations: 7.984 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.3961, allocations: 47.94 kB / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3961, allocations: 0 / 1.084 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.3963, allocations: 31.67 kB / 1.084 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3964, allocations: 8 kB / 1.084 GB, free: 13.41 MB / 0.8419 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.0001207/0.3965, allocations: 125.8 kB / 1.084 GB, free: 13.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.3965, allocations: 15.89 kB / 1.084 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005997/0.3971, allocations: 201.9 kB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3972, allocations: 4 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3972, allocations: 4 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.3972, allocations: 3.984 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.3987, allocations: 0.9895 MB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3987, allocations: 0 / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.3989, allocations: 35.91 kB / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3989, allocations: 0 / 1.085 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3989, allocations: 8 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.3989, allocations: 0 / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3989, allocations: 8.062 kB / 1.085 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.3995, allocations: 293 kB / 1.085 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.3995, allocations: 100.9 kB / 1.085 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3996, allocations: 4 kB / 1.085 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.3998, allocations: 15.98 kB / 1.085 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.3999, allocations: 15.86 kB / 1.085 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.3999, allocations: 11.98 kB / 1.085 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001054/0.4, allocations: 121.3 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4, allocations: 4 kB / 1.086 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005309/0.4005, allocations: 123.9 kB / 1.086 GB, free: 11.14 MB / 0.8419 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.0004897/0.401, allocations: 223 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.4016, allocations: 183.8 kB / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4016, allocations: 0 / 1.086 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002111/0.4018, allocations: 88.09 kB / 1.086 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.4023, allocations: 43.97 kB / 1.086 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006887/0.403, allocations: 389.5 kB / 1.087 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.4034, allocations: 0.7166 MB / 1.087 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001572/0.4035, allocations: 25.19 kB / 1.087 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.58e-05/0.4036, allocations: 19.42 kB / 1.087 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.4036, allocations: 0 / 1.087 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of Templates: time 0.008479/0.4121, allocations: 4.135 MB / 1.091 GB, free: 5.305 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)