Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001337/0.001337, allocations: 104.2 kB / 16.52 MB, free: 6.266 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.001367/0.001367, allocations: 197 kB / 17.44 MB, free: 5.887 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.327/1.327, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7009/0.7009, allocations: 115.3 MB / 406.6 MB, free: 6.445 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.88 kB / 493.6 MB, free: 0.8242 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 76.16 MB / 0.5564 GB, free: 36.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003002/0.4098, allocations: 2.059 MB / 0.5584 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.4121, allocations: 1.741 MB / 0.5601 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.107e-05/0.4121, allocations: 2.344 kB / 0.5601 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.877e-05/0.4122, allocations: 17.25 kB / 0.5601 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.4123, allocations: 42.09 kB / 0.5601 GB, free: 33.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008727/0.4132, allocations: 300.8 kB / 0.5604 GB, free: 33.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.4134, allocations: 207.5 kB / 0.5606 GB, free: 33.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.4136, allocations: 41 kB / 0.5607 GB, free: 33.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.4137, allocations: 72.48 kB / 0.5607 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.4139, allocations: 83.23 kB / 0.5608 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.4139, allocations: 12.47 kB / 0.5608 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008382/0.4147, allocations: 390.6 kB / 0.5612 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.4148, allocations: 36.03 kB / 0.5612 GB, free: 33.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.491e-05/0.4149, allocations: 79.31 kB / 0.5613 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004854/0.4154, allocations: 321.2 kB / 0.5616 GB, free: 33.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4154, allocations: 1.594 kB / 0.5616 GB, free: 33.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4154, allocations: 0 / 0.5616 GB, free: 33.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4154, allocations: 0.8125 kB / 0.5616 GB, free: 33.28 MB / 446.1 MB 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.0008247/0.4163, allocations: 0.5121 MB / 0.5621 GB, free: 32.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.4163, allocations: 10.34 kB / 0.5621 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006101/0.4169, allocations: 85.72 kB / 0.5622 GB, free: 32.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4171, allocations: 186.9 kB / 0.5624 GB, free: 32.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.253e-05/0.4172, allocations: 45.75 kB / 0.5624 GB, free: 32.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.4172, allocations: 14.38 kB / 0.5624 GB, free: 32.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004387/0.4176, allocations: 191.7 kB / 0.5626 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4177, allocations: 5.344 kB / 0.5626 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.4177, allocations: 7.656 kB / 0.5626 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.4177, allocations: 6.625 kB / 0.5626 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004538/0.4182, allocations: 179.9 kB / 0.5628 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001367/0.4195, allocations: 0.9131 MB / 0.5637 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.4201, allocations: 178.5 kB / 0.5639 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.4203, allocations: 79.84 kB / 0.564 GB, free: 31.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005993/0.4209, allocations: 0.5244 MB / 0.5645 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.4209, allocations: 33 kB / 0.5645 GB, free: 30.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.4209, allocations: 0.9062 kB / 0.5645 GB, free: 30.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007292/0.4217, allocations: 240.6 kB / 0.5647 GB, free: 30.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.4217, allocations: 57.59 kB / 0.5648 GB, free: 30.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.4219, allocations: 154.8 kB / 0.5649 GB, free: 30.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.4219, allocations: 33.23 kB / 0.565 GB, free: 30.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.414e-05/0.422, allocations: 114.1 kB / 0.5651 GB, free: 30.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.422, allocations: 50.56 kB / 0.5651 GB, free: 30.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.77e-05/0.4221, allocations: 38.98 kB / 0.5652 GB, free: 30.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.4222, allocations: 323.7 kB / 0.5655 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/0.4224, allocations: 70.78 kB / 0.5655 GB, free: 30.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.4226, allocations: 98.56 kB / 0.5656 GB, free: 30 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.423, allocations: 150.5 kB / 0.5658 GB, free: 29.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.423, allocations: 3.938 kB / 0.5658 GB, free: 29.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005033/0.4235, allocations: 214.2 kB / 0.566 GB, free: 29.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.4236, allocations: 6.609 kB / 0.566 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.4236, allocations: 0 / 0.566 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.4236, allocations: 1.344 kB / 0.566 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.4239, allocations: 41.44 kB / 0.566 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.4239, allocations: 5.156 kB / 0.566 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.4241, allocations: 30.14 kB / 0.5661 GB, free: 29.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.4241, allocations: 6 kB / 0.5661 GB, free: 29.81 MB / 446.1 MB 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 9.345e-05/0.4242, allocations: 133 kB / 0.5662 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.4242, allocations: 15.62 kB / 0.5662 GB, free: 29.67 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005161/0.4248, allocations: 195.7 kB / 0.5664 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4248, allocations: 1.344 kB / 0.5664 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4248, allocations: 3.172 kB / 0.5664 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4248, allocations: 0.7969 kB / 0.5664 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.4261, allocations: 0.9781 MB / 0.5674 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4261, allocations: 1.438 kB / 0.5674 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.4263, allocations: 36.94 kB / 0.5674 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4263, allocations: 0.875 kB / 0.5674 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/0.4264, allocations: 6.953 kB / 0.5674 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4264, allocations: 2.188 kB / 0.5674 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.4264, allocations: 6.656 kB / 0.5674 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.4268, allocations: 292.3 kB / 0.5677 GB, free: 28.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.815e-05/0.4269, allocations: 87.38 kB / 0.5678 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.4269, allocations: 6.906 kB / 0.5678 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.4272, allocations: 13.95 kB / 0.5678 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.4272, allocations: 15.97 kB / 0.5678 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4272, allocations: 9.297 kB / 0.5678 GB, free: 28.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.121e-05/0.4273, allocations: 119.1 kB / 0.5679 GB, free: 28.28 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4273, allocations: 0 / 0.5679 GB, free: 28.28 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005473/0.4279, allocations: 129.8 kB / 0.5681 GB, free: 28.24 MB / 446.1 MB 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.0004689/0.4284, allocations: 225.1 kB / 0.5683 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.4289, allocations: 182.2 kB / 0.5684 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4289, allocations: 0 / 0.5684 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.4291, allocations: 82.77 kB / 0.5685 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.4296, allocations: 48.11 kB / 0.5686 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006663/0.4302, allocations: 388.2 kB / 0.5689 GB, free: 27.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.4304, allocations: 0.711 MB / 0.5696 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-05/0.4305, allocations: 22.22 kB / 0.5697 GB, free: 27.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4305, allocations: 3.938 kB / 0.5697 GB, free: 27.03 MB / 446.1 MB Notification: Performance of Templates: time 0.007399/0.4379, allocations: 3.848 MB / 0.5734 GB, free: 26.64 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)