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.004807/0.004807, allocations: 101 kB / 15.73 MB, free: 6.059 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.001265/0.001265, allocations: 193.4 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8285/0.8285, allocations: 132.2 MB / 422.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0018/0.0018, allocations: 68.11 kB / 0.5809 GB, free: 24.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1396, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003624/0.1432, allocations: 2.002 MB / 0.6611 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002648/0.1459, allocations: 1.679 MB / 0.6628 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.146, allocations: 4 kB / 0.6628 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.144e-05/0.1461, allocations: 15.8 kB / 0.6628 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.1462, allocations: 51.55 kB / 0.6629 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.1472, allocations: 350.8 kB / 0.6632 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.1475, allocations: 227 kB / 0.6634 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.1476, allocations: 53.75 kB / 0.6635 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1478, allocations: 75.83 kB / 0.6635 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.1479, allocations: 87.67 kB / 0.6636 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.148, allocations: 20 kB / 0.6636 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008123/0.1488, allocations: 411.5 kB / 0.664 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.1488, allocations: 35.91 kB / 0.6641 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.149, allocations: 87.66 kB / 0.6641 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006444/0.1496, allocations: 442.6 kB / 0.6646 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1496, allocations: 0 / 0.6646 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1496, allocations: 0 / 0.6646 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1496, allocations: 0 / 0.6646 GB, free: 5.242 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.0008509/0.1505, allocations: 0.5218 MB / 0.6651 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1505, allocations: 8.031 kB / 0.6651 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.585e-05/0.1506, allocations: 58.66 kB / 0.6651 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.1512, allocations: 88.75 kB / 0.6652 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1513, allocations: 184.2 kB / 0.6654 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.315e-05/0.1514, allocations: 54.25 kB / 0.6655 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1515, allocations: 15.94 kB / 0.6655 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.1519, allocations: 182 kB / 0.6656 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1519, allocations: 4 kB / 0.6656 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.152, allocations: 4 kB / 0.6656 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.152, allocations: 4 kB / 0.6657 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.1525, allocations: 180.5 kB / 0.6658 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001456/0.1539, allocations: 0.915 MB / 0.6667 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005314/0.1545, allocations: 170.5 kB / 0.6669 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002026/0.1547, allocations: 76.83 kB / 0.667 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007077/0.1554, allocations: 0.522 MB / 0.6675 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.1554, allocations: 38.56 kB / 0.6675 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1555, allocations: 0 / 0.6675 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007642/0.1562, allocations: 241.7 kB / 0.6677 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.1563, allocations: 51.41 kB / 0.6678 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1565, allocations: 158.5 kB / 0.6679 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.1565, allocations: 29.7 kB / 0.668 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.1567, allocations: 127.8 kB / 0.6681 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.1567, allocations: 43.64 kB / 0.6681 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.1568, allocations: 33.7 kB / 0.6682 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.157, allocations: 330.8 kB / 0.6685 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.1572, allocations: 71.95 kB / 0.6685 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002362/0.1574, allocations: 101.6 kB / 0.6686 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/0.1579, allocations: 151.7 kB / 0.6688 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1579, allocations: 0 / 0.6688 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000528/0.1584, allocations: 211.2 kB / 0.669 GB, free: 292 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1584, allocations: 8 kB / 0.669 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1584, allocations: 0 / 0.669 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.1585, allocations: 3.938 kB / 0.669 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.1587, allocations: 39.97 kB / 0.669 GB, free: 240 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.1587, allocations: 4 kB / 0.669 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.1589, allocations: 23.83 kB / 0.6691 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.159, allocations: 8 kB / 0.6691 GB, free: 204 kB / 0.4981 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.0001515/0.1591, allocations: 134.6 kB / 0.6692 GB, free: 60 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.1592, allocations: 11.95 kB / 0.6692 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.1598, allocations: 193.6 kB / 0.6694 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.1598, allocations: 4 kB / 0.6694 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1598, allocations: 4 kB / 0.6694 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1598, allocations: 3.984 kB / 0.6694 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.1615, allocations: 0.9828 MB / 0.6704 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1616, allocations: 0 / 0.6704 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.1618, allocations: 31.97 kB / 0.6704 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1618, allocations: 3.938 kB / 0.6704 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1618, allocations: 4 kB / 0.6704 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.731e-06/0.1618, allocations: 7.938 kB / 0.6704 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1618, allocations: 0 / 0.6704 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005348/0.1624, allocations: 293.1 kB / 0.6707 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.501e-05/0.1624, allocations: 93.05 kB / 0.6708 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.1625, allocations: 4 kB / 0.6708 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.1627, allocations: 19.92 kB / 0.6708 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.1628, allocations: 15.92 kB / 0.6708 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1628, allocations: 4 kB / 0.6708 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.46e-05/0.1629, allocations: 123.5 kB / 0.6709 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1629, allocations: 0 / 0.6709 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004735/0.1634, allocations: 131.5 kB / 0.6711 GB, free: 13.95 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.001167/0.1645, allocations: 0.9479 MB / 0.672 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.165, allocations: 179.8 kB / 0.6722 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1651, allocations: 0 / 0.6722 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002276/0.1653, allocations: 80.09 kB / 0.6722 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.1657, allocations: 51.27 kB / 0.6723 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002902/0.1686, allocations: 2.067 MB / 0.6743 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.169, allocations: 0.7086 MB / 0.675 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001407/0.1691, allocations: 30.66 kB / 0.675 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.1693, allocations: 43.42 kB / 0.6751 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1693, allocations: 0 / 0.6751 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.1966, allocations: 6.025 MB / 0.6809 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/7.934, allocations: 9.781 kB / 0.681 GB, free: 3.852 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)