Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IDEAS_dev_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.004974/0.004974, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001171/0.001171, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8327/0.8327, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.22 kB / 0.5851 GB, free: 21.99 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1726, allocations: 80.92 MB / 0.6641 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004577/0.1772, allocations: 2.029 MB / 0.6661 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.1808, allocations: 1.656 MB / 0.6677 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.125e-05/0.181, allocations: 4 kB / 0.6678 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.302e-05/0.1811, allocations: 15.84 kB / 0.6678 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.1813, allocations: 51.56 kB / 0.6678 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.1828, allocations: 350.8 kB / 0.6681 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.1832, allocations: 231 kB / 0.6684 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001982/0.1834, allocations: 57.73 kB / 0.6684 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.1835, allocations: 71.84 kB / 0.6685 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002123/0.1838, allocations: 95.66 kB / 0.6686 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.1838, allocations: 16 kB / 0.6686 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.185, allocations: 415.5 kB / 0.669 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.1851, allocations: 39.91 kB / 0.669 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.1852, allocations: 83.66 kB / 0.6691 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008155/0.1861, allocations: 446.5 kB / 0.6695 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1861, allocations: 0 / 0.6695 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1861, allocations: 0 / 0.6695 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.1861, allocations: 0 / 0.6695 GB, free: 0.7383 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.001098/0.1872, allocations: 0.5179 MB / 0.67 GB, free: 172 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.1873, allocations: 9.109 kB / 0.6701 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.243e-05/0.1874, allocations: 58.73 kB / 0.6701 GB, free: 96 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000797/0.1882, allocations: 84.73 kB / 0.6702 GB, free: 12 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1883, allocations: 176.2 kB / 0.6704 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.1885, allocations: 54.25 kB / 0.6704 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.1885, allocations: 19.94 kB / 0.6704 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.1892, allocations: 185.9 kB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1892, allocations: 3.938 kB / 0.6706 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.1893, allocations: 4 kB / 0.6706 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.1893, allocations: 4 kB / 0.6706 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.19, allocations: 187.8 kB / 0.6708 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.1922, allocations: 0.9148 MB / 0.6717 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.1931, allocations: 166.6 kB / 0.6718 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.1935, allocations: 88.75 kB / 0.6719 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.1947, allocations: 0.5103 MB / 0.6724 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.901e-05/0.1947, allocations: 46.55 kB / 0.6725 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.1947, allocations: 0 / 0.6725 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.001259/0.196, allocations: 229.8 kB / 0.6727 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1961, allocations: 55.41 kB / 0.6727 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.1963, allocations: 161.9 kB / 0.6729 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.1964, allocations: 25.7 kB / 0.6729 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.1965, allocations: 131.8 kB / 0.6731 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.1966, allocations: 47.59 kB / 0.6731 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1967, allocations: 41.64 kB / 0.6731 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1969, allocations: 326.8 kB / 0.6734 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003846/0.1973, allocations: 79.89 kB / 0.6735 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.1977, allocations: 95.91 kB / 0.6736 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007337/0.1985, allocations: 145.6 kB / 0.6738 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.1985, allocations: 4 kB / 0.6738 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0009502/0.1995, allocations: 215.7 kB / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.1995, allocations: 7.984 kB / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.1995, allocations: 0 / 0.674 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.1996, allocations: 4 kB / 0.674 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004419/0.2, allocations: 43.91 kB / 0.674 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.2, allocations: 3.938 kB / 0.674 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003286/0.2004, allocations: 23.83 kB / 0.674 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.2004, allocations: 8 kB / 0.6741 GB, free: 11.68 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.0001878/0.2006, allocations: 129.8 kB / 0.6742 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.489e-05/0.2007, allocations: 11.95 kB / 0.6742 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009087/0.2016, allocations: 201.8 kB / 0.6744 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.2017, allocations: 0 / 0.6744 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2017, allocations: 4 kB / 0.6744 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.2017, allocations: 0 / 0.6744 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002618/0.2043, allocations: 0.9779 MB / 0.6753 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.2044, allocations: 0 / 0.6753 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.2048, allocations: 27.98 kB / 0.6754 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.2048, allocations: 0 / 0.6754 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.2048, allocations: 11.94 kB / 0.6754 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/0.2049, allocations: 15.84 kB / 0.6754 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2049, allocations: 0 / 0.6754 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.2058, allocations: 289.2 kB / 0.6757 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.2059, allocations: 85.06 kB / 0.6757 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.206, allocations: 4 kB / 0.6758 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.2064, allocations: 19.91 kB / 0.6758 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.2065, allocations: 15.98 kB / 0.6758 GB, free: 9.699 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.2065, allocations: 4 kB / 0.6758 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001499/0.2067, allocations: 119.2 kB / 0.6759 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.2067, allocations: 0 / 0.6759 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008494/0.2076, allocations: 135.5 kB / 0.676 GB, free: 9.445 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.00196/0.2095, allocations: 0.9453 MB / 0.677 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009089/0.2105, allocations: 179.7 kB / 0.6771 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2105, allocations: 0 / 0.6771 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.2109, allocations: 88.08 kB / 0.6772 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007406/0.2117, allocations: 39.92 kB / 0.6773 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.2167, allocations: 2.058 MB / 0.6793 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004146/0.2172, allocations: 0.7086 MB / 0.68 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002751/0.2175, allocations: 36.89 kB / 0.68 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.2176, allocations: 39.42 kB / 0.68 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of SimCode: time 6.71e-07/0.2177, allocations: 0 / 0.68 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.241, allocations: 6.033 MB / 0.6859 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.356/7.597, allocations: 4.688 kB / 0.6859 GB, free: 15.33 MB / 0.5294 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)