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.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/IDEAS 3.0.0/package.mo", uses=false) 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.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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007056/0.0007056, allocations: 92 kB / 15.06 MB, free: 1.098 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.0008512/0.0008512, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 223.3 MB / 240 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7109/0.7109, allocations: 132.3 MB / 423.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002936/0.0002936, allocations: 8.562 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3563, allocations: 81.56 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001676/0.358, allocations: 1.685 MB / 0.5848 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.3597, allocations: 1.55 MB / 0.5863 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.219e-05/0.3598, allocations: 2.125 kB / 0.5863 GB, free: 1.684 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.3598, allocations: 12.67 kB / 0.5863 GB, free: 1.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.292e-05/0.3599, allocations: 44.62 kB / 0.5864 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.3605, allocations: 264.7 kB / 0.5866 GB, free: 1.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.3607, allocations: 206.2 kB / 0.5868 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.3608, allocations: 34.73 kB / 0.5868 GB, free: 1.402 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.687e-05/0.3609, allocations: 68.52 kB / 0.5869 GB, free: 1.379 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.361, allocations: 86.05 kB / 0.587 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.3611, allocations: 10.31 kB / 0.587 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006718/0.3618, allocations: 373.9 kB / 0.5874 GB, free: 1.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.3618, allocations: 37.98 kB / 0.5874 GB, free: 1.227 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.3618, allocations: 52.05 kB / 0.5874 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003882/0.3622, allocations: 312.5 kB / 0.5877 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3623, allocations: 4.531 kB / 0.5877 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3623, allocations: 0 / 0.5877 GB, free: 1.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.3623, allocations: 0.6875 kB / 0.5877 GB, free: 1.109 MB / 430.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.0005878/0.3629, allocations: 0.4917 MB / 0.5882 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3629, allocations: 13.44 kB / 0.5882 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.363, allocations: 55.64 kB / 0.5883 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004847/0.3634, allocations: 99.34 kB / 0.5884 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.3635, allocations: 178.2 kB / 0.5886 GB, free: 392 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.411e-05/0.3636, allocations: 48.02 kB / 0.5886 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.3636, allocations: 14.09 kB / 0.5886 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.364, allocations: 178.5 kB / 0.5888 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.364, allocations: 0 / 0.5888 GB, free: 268 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.3641, allocations: 13.72 kB / 0.5888 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3641, allocations: 4.453 kB / 0.5888 GB, free: 256 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.3645, allocations: 188.8 kB / 0.589 GB, free: 196 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.3657, allocations: 0.9192 MB / 0.5899 GB, free: 15.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.3662, allocations: 182.4 kB / 0.5901 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3664, allocations: 81.66 kB / 0.5901 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005318/0.3669, allocations: 0.5203 MB / 0.5906 GB, free: 14.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.3669, allocations: 36.66 kB / 0.5907 GB, free: 14.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.262e-06/0.3669, allocations: 0 / 0.5907 GB, free: 14.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006273/0.3676, allocations: 244.3 kB / 0.5909 GB, free: 14.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.3676, allocations: 57.5 kB / 0.591 GB, free: 14.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3678, allocations: 159.4 kB / 0.5911 GB, free: 14.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3678, allocations: 31.33 kB / 0.5911 GB, free: 14.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.359e-05/0.3679, allocations: 122.7 kB / 0.5913 GB, free: 14.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.3679, allocations: 49.39 kB / 0.5913 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/0.3679, allocations: 5.375 kB / 0.5913 GB, free: 14.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.368, allocations: 321.1 kB / 0.5916 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.3682, allocations: 74.89 kB / 0.5917 GB, free: 13.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001927/0.3684, allocations: 101.2 kB / 0.5918 GB, free: 13.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.3686, allocations: 80.64 kB / 0.5919 GB, free: 13.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3686, allocations: 0 / 0.5919 GB, free: 13.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004653/0.3691, allocations: 220.6 kB / 0.5921 GB, free: 13.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3691, allocations: 6.688 kB / 0.5921 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3691, allocations: 0 / 0.5921 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3692, allocations: 1.375 kB / 0.5921 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.3694, allocations: 49.89 kB / 0.5921 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3694, allocations: 1.547 kB / 0.5921 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.3696, allocations: 30.08 kB / 0.5922 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.3696, allocations: 9.312 kB / 0.5922 GB, free: 13.62 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.3697, allocations: 126.8 kB / 0.5923 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.3698, allocations: 15.17 kB / 0.5923 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004922/0.3702, allocations: 207.7 kB / 0.5925 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3703, allocations: 1.938 kB / 0.5925 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3703, allocations: 0 / 0.5925 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3703, allocations: 1.359 kB / 0.5925 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.3716, allocations: 0.9937 MB / 0.5935 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3716, allocations: 0.7188 kB / 0.5935 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.3718, allocations: 35.06 kB / 0.5935 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.3718, allocations: 1.375 kB / 0.5935 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.3718, allocations: 6.531 kB / 0.5935 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.3718, allocations: 1.5 kB / 0.5935 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3718, allocations: 1.344 kB / 0.5935 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.3723, allocations: 300.3 kB / 0.5938 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/0.3724, allocations: 93.17 kB / 0.5939 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.3724, allocations: 7.547 kB / 0.5939 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.3726, allocations: 18.48 kB / 0.5939 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.3726, allocations: 14.3 kB / 0.5939 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.3726, allocations: 8.547 kB / 0.5939 GB, free: 12.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.3727, allocations: 120.2 kB / 0.5941 GB, free: 12.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3727, allocations: 0 / 0.5941 GB, free: 12.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004401/0.3732, allocations: 127 kB / 0.5942 GB, free: 12.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009431/0.3741, allocations: 0.9533 MB / 0.5951 GB, free: 11.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.3746, allocations: 181.3 kB / 0.5953 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3746, allocations: 1.25 kB / 0.5953 GB, free: 11.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.3748, allocations: 85.53 kB / 0.5954 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.3751, allocations: 45.91 kB / 0.5954 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.3768, allocations: 1.036 MB / 0.5964 GB, free: 10.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.377, allocations: 0.7118 MB / 0.5971 GB, free: 9.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001389/0.3772, allocations: 30.06 kB / 0.5971 GB, free: 9.801 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.294e-05/0.3772, allocations: 44.23 kB / 0.5972 GB, free: 9.773 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3773, allocations: 0 / 0.5972 GB, free: 9.773 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.729/2.106, allocations: 5.591 MB / 0.6027 GB, free: 7.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/2.106, allocations: 214.3 kB / 0.6029 GB, free: 7.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.129/5.236, allocations: 1.25 kB / 0.6029 GB, free: 7.34 MB / 446.1 MB (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/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: