Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.007326/0.007326, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001264/0.001264, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.323/1.323, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8113/0.8113, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.12 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1437, allocations: 80.93 MB / 0.6642 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.003353/0.1471, allocations: 2.01 MB / 0.6661 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002485/0.1496, allocations: 1.663 MB / 0.6677 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.1498, allocations: 4 kB / 0.6677 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.421e-05/0.1499, allocations: 15.8 kB / 0.6678 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.15, allocations: 47.55 kB / 0.6678 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1512, allocations: 362.8 kB / 0.6681 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.1515, allocations: 223 kB / 0.6684 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.1516, allocations: 60.25 kB / 0.6684 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1518, allocations: 75.84 kB / 0.6685 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1519, allocations: 91.66 kB / 0.6686 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.275e-05/0.152, allocations: 20 kB / 0.6686 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.1528, allocations: 407.5 kB / 0.669 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.1528, allocations: 43.89 kB / 0.669 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.784e-05/0.1529, allocations: 91.64 kB / 0.6691 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006311/0.1535, allocations: 419.8 kB / 0.6695 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1536, allocations: 3.938 kB / 0.6695 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1536, allocations: 0 / 0.6695 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.1536, allocations: 0 / 0.6695 GB, free: 0.7695 MB / 0.4981 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.0008264/0.1544, allocations: 0.5148 MB / 0.67 GB, free: 208 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1545, allocations: 13.11 kB / 0.67 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.1545, allocations: 58.67 kB / 0.6701 GB, free: 128 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005754/0.1551, allocations: 92.64 kB / 0.6702 GB, free: 36 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.1553, allocations: 180.1 kB / 0.6704 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.1554, allocations: 50.25 kB / 0.6704 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.1554, allocations: 15.94 kB / 0.6704 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.1558, allocations: 185.9 kB / 0.6706 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1558, allocations: 3.984 kB / 0.6706 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1559, allocations: 12 kB / 0.6706 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1559, allocations: 4 kB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.1563, allocations: 175.9 kB / 0.6708 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.1577, allocations: 0.9262 MB / 0.6717 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/0.1583, allocations: 166.6 kB / 0.6718 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.1585, allocations: 76.83 kB / 0.6719 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/0.1591, allocations: 0.5181 MB / 0.6724 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1591, allocations: 34.56 kB / 0.6725 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.1591, allocations: 3.938 kB / 0.6725 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007027/0.1599, allocations: 237.4 kB / 0.6727 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.1599, allocations: 51.41 kB / 0.6727 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.16, allocations: 161.5 kB / 0.6729 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1601, allocations: 29.7 kB / 0.6729 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.516e-05/0.1602, allocations: 115.8 kB / 0.673 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1602, allocations: 51.28 kB / 0.6731 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.1603, allocations: 41.7 kB / 0.6731 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1604, allocations: 326.8 kB / 0.6734 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.1606, allocations: 71.95 kB / 0.6735 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.1608, allocations: 95.91 kB / 0.6736 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.1612, allocations: 161.8 kB / 0.6737 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.1612, allocations: 0 / 0.6737 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005185/0.1618, allocations: 215.5 kB / 0.6739 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1618, allocations: 8 kB / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1618, allocations: 0 / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1618, allocations: 32 / 0.674 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.1621, allocations: 43.91 kB / 0.674 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1621, allocations: 0 / 0.674 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.1623, allocations: 27.83 kB / 0.674 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1623, allocations: 4 kB / 0.674 GB, free: 11.72 MB / 0.5137 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.0001275/0.1625, allocations: 131 kB / 0.6742 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.1625, allocations: 11.91 kB / 0.6742 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.1631, allocations: 197.8 kB / 0.6744 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1631, allocations: 4 kB / 0.6744 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1631, allocations: 3.984 kB / 0.6744 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1631, allocations: 0 / 0.6744 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.1646, allocations: 0.9817 MB / 0.6753 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1647, allocations: 4 kB / 0.6753 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.1649, allocations: 28.03 kB / 0.6753 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.1649, allocations: 8 kB / 0.6754 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1649, allocations: 4 kB / 0.6754 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1649, allocations: 7.938 kB / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.1649, allocations: 0 / 0.6754 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.1654, allocations: 297 kB / 0.6757 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.1655, allocations: 89 kB / 0.6757 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1656, allocations: 4 kB / 0.6757 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.1658, allocations: 19.92 kB / 0.6758 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.1658, allocations: 7.984 kB / 0.6758 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1658, allocations: 4 kB / 0.6758 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.17e-05/0.1659, allocations: 125.3 kB / 0.6759 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1659, allocations: 4 kB / 0.6759 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004485/0.1664, allocations: 127.8 kB / 0.676 GB, free: 9.48 MB / 0.5137 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.001081/0.1675, allocations: 0.9441 MB / 0.6769 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004872/0.168, allocations: 183.8 kB / 0.6771 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.168, allocations: 0 / 0.6771 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.1682, allocations: 79.91 kB / 0.6772 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004486/0.1687, allocations: 52.08 kB / 0.6772 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002872/0.1715, allocations: 2.063 MB / 0.6793 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.1718, allocations: 0.7047 MB / 0.6799 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00014/0.172, allocations: 31.05 kB / 0.68 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.741e-05/0.1721, allocations: 47.41 kB / 0.68 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.1721, allocations: 0 / 0.68 GB, free: 5.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.1962, allocations: 6.118 MB / 0.686 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.054, allocations: 2.031 kB / 0.686 GB, free: 15.3 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)