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.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001124/0.001124, allocations: 197.6 kB / 16.14 MB, free: 6.66 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.211/1.211, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7332/0.7332, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 60.41 kB / 0.5012 GB, free: 9.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1313, allocations: 80.2 MB / 0.5795 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002784/0.1341, allocations: 2.069 MB / 0.5815 GB, free: 7.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1364, allocations: 1.738 MB / 0.5832 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.1364, allocations: 4 kB / 0.5832 GB, free: 5.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.868e-05/0.1365, allocations: 11.86 kB / 0.5832 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.716e-05/0.1366, allocations: 43.67 kB / 0.5833 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.1373, allocations: 302.4 kB / 0.5836 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1375, allocations: 207.1 kB / 0.5838 GB, free: 4.793 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1377, allocations: 45.45 kB / 0.5838 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.606e-05/0.1378, allocations: 75.78 kB / 0.5839 GB, free: 4.668 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1379, allocations: 87.66 kB / 0.584 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.1379, allocations: 12 kB / 0.584 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.1386, allocations: 391.5 kB / 0.5843 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.497e-05/0.1386, allocations: 31.91 kB / 0.5844 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.1387, allocations: 83.64 kB / 0.5845 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005161/0.1393, allocations: 423.2 kB / 0.5849 GB, free: 3.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1393, allocations: 7.938 kB / 0.5849 GB, free: 3.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1393, allocations: 0 / 0.5849 GB, free: 3.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.1393, allocations: 0 / 0.5849 GB, free: 3.652 MB / 494.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.0007334/0.14, allocations: 0.5147 MB / 0.5854 GB, free: 3.086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1401, allocations: 12.03 kB / 0.5854 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.1401, allocations: 50.73 kB / 0.5854 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005445/0.1407, allocations: 88.66 kB / 0.5855 GB, free: 2.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.1408, allocations: 184.1 kB / 0.5857 GB, free: 2.711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.1409, allocations: 50.25 kB / 0.5857 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.1409, allocations: 20.12 kB / 0.5858 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.1413, allocations: 177.4 kB / 0.5859 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1413, allocations: 0 / 0.5859 GB, free: 2.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.614e-05/0.1413, allocations: 16 kB / 0.5859 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1414, allocations: 4 kB / 0.5859 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.1418, allocations: 175.8 kB / 0.5861 GB, free: 2.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.143, allocations: 0.9265 MB / 0.587 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.1435, allocations: 174.6 kB / 0.5872 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.1437, allocations: 80.77 kB / 0.5873 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/0.1443, allocations: 0.522 MB / 0.5878 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.1444, allocations: 30.56 kB / 0.5878 GB, free: 288 kB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.1444, allocations: 0 / 0.5878 GB, free: 288 kB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006557/0.145, allocations: 229.5 kB / 0.588 GB, free: 52 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1451, allocations: 55.41 kB / 0.5881 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.1452, allocations: 158.5 kB / 0.5882 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.1452, allocations: 29.7 kB / 0.5883 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.1453, allocations: 119.7 kB / 0.5884 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.1454, allocations: 47.3 kB / 0.5884 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.527e-05/0.1454, allocations: 41.7 kB / 0.5885 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.1455, allocations: 322.8 kB / 0.5888 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.1457, allocations: 83.84 kB / 0.5888 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.146, allocations: 95.39 kB / 0.5889 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003594/0.1463, allocations: 147.6 kB / 0.5891 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1463, allocations: 0 / 0.5891 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004853/0.1468, allocations: 217.4 kB / 0.5893 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1469, allocations: 4 kB / 0.5893 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.1469, allocations: 0 / 0.5893 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1469, allocations: 0 / 0.5893 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.1472, allocations: 43.89 kB / 0.5893 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1472, allocations: 7.938 kB / 0.5893 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.1474, allocations: 27.73 kB / 0.5894 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1474, allocations: 8.031 kB / 0.5894 GB, free: 14.61 MB / 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 9.901e-05/0.1475, allocations: 130.4 kB / 0.5895 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.1475, allocations: 7.906 kB / 0.5895 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.148, allocations: 198.4 kB / 0.5897 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1481, allocations: 4 kB / 0.5897 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1481, allocations: 3.984 kB / 0.5897 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1481, allocations: 0 / 0.5897 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.1494, allocations: 0.9778 MB / 0.5906 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1494, allocations: 0 / 0.5906 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002066/0.1496, allocations: 31.97 kB / 0.5907 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1496, allocations: 0 / 0.5907 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.1497, allocations: 8 kB / 0.5907 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.211e-06/0.1497, allocations: 11.88 kB / 0.5907 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1497, allocations: 0 / 0.5907 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004657/0.1502, allocations: 288 kB / 0.591 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.1502, allocations: 96.84 kB / 0.5911 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.1503, allocations: 4 kB / 0.5911 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.1505, allocations: 23.92 kB / 0.5911 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.1505, allocations: 7.984 kB / 0.5911 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1505, allocations: 8 kB / 0.5911 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.025e-05/0.1506, allocations: 122.7 kB / 0.5912 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1506, allocations: 7.875 kB / 0.5912 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004091/0.1511, allocations: 123.9 kB / 0.5914 GB, free: 12.37 MB / 0.4981 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.0009909/0.152, allocations: 0.9397 MB / 0.5923 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004512/0.1525, allocations: 181.7 kB / 0.5924 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1525, allocations: 3.938 kB / 0.5924 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.1527, allocations: 83.97 kB / 0.5925 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.1531, allocations: 42.56 kB / 0.5926 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.1557, allocations: 2.094 MB / 0.5946 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1559, allocations: 0.705 MB / 0.5953 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.1561, allocations: 31.69 kB / 0.5953 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.44e-05/0.1562, allocations: 43.42 kB / 0.5954 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1562, allocations: 0 / 0.5954 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.386/1.542, allocations: 5.75 MB / 0.601 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/1.542, allocations: 221 kB / 0.6012 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/3.538, allocations: 0 / 0.6012 GB, free: 2.293 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/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)