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: translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001278, allocations: 110.5 kB / 16.37 MB, free: 6.348 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.001131/0.001131, allocations: 192.3 kB / 17.3 MB, free: 5.895 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.322/1.322, allocations: 222.9 MB / 241 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.7788/0.7788, allocations: 132.2 MB / 423.4 MB, free: 6.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 62.62 kB / 0.5819 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2128, allocations: 80.21 MB / 0.6603 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003054/0.2159, allocations: 2.014 MB / 0.6622 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.2183, allocations: 1.667 MB / 0.6639 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.537e-05/0.2184, allocations: 0 / 0.6639 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.199e-05/0.2185, allocations: 23.78 kB / 0.6639 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2186, allocations: 43.56 kB / 0.6639 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.2197, allocations: 358.8 kB / 0.6643 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00026/0.22, allocations: 231 kB / 0.6645 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.2202, allocations: 53.41 kB / 0.6645 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2203, allocations: 75.84 kB / 0.6646 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2204, allocations: 91.66 kB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.2205, allocations: 16 kB / 0.6647 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008101/0.2213, allocations: 419.5 kB / 0.6651 GB, free: 5.336 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.2213, allocations: 35.91 kB / 0.6652 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.662e-05/0.2214, allocations: 83.66 kB / 0.6652 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005887/0.222, allocations: 427 kB / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.222, allocations: 0 / 0.6656 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2221, allocations: 4 kB / 0.6656 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.2221, allocations: 0 / 0.6656 GB, free: 4.797 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.0008073/0.2229, allocations: 0.5186 MB / 0.6661 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.624e-05/0.2229, allocations: 12.03 kB / 0.6662 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005734/0.2235, allocations: 84.73 kB / 0.6662 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.2237, allocations: 180.2 kB / 0.6664 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.2237, allocations: 50.25 kB / 0.6665 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.2238, allocations: 24.06 kB / 0.6665 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.2242, allocations: 186 kB / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.2242, allocations: 0 / 0.6667 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.2243, allocations: 4 kB / 0.6667 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.2243, allocations: 4 kB / 0.6667 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.2247, allocations: 180.5 kB / 0.6668 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.2261, allocations: 0.9187 MB / 0.6677 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004973/0.2266, allocations: 170.6 kB / 0.6679 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.2268, allocations: 80.81 kB / 0.668 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.2274, allocations: 0.522 MB / 0.6685 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.2275, allocations: 38.56 kB / 0.6685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/0.2275, allocations: 0 / 0.6685 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007235/0.2282, allocations: 233.6 kB / 0.6687 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.2283, allocations: 59.39 kB / 0.6688 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.2284, allocations: 150.5 kB / 0.6689 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.2285, allocations: 29.7 kB / 0.669 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.364e-05/0.2286, allocations: 119.8 kB / 0.6691 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.2286, allocations: 55.3 kB / 0.6691 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.2287, allocations: 33.7 kB / 0.6692 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.2288, allocations: 326.8 kB / 0.6695 GB, free: 460 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.229, allocations: 75.95 kB / 0.6696 GB, free: 384 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.2292, allocations: 95.52 kB / 0.6696 GB, free: 284 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.2296, allocations: 156 kB / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2296, allocations: 0 / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005169/0.2302, allocations: 221.3 kB / 0.67 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2302, allocations: 4 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2302, allocations: 3.938 kB / 0.67 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2302, allocations: 8.031 kB / 0.67 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.2305, allocations: 35.97 kB / 0.6701 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2305, allocations: 0 / 0.6701 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.2307, allocations: 23.83 kB / 0.6701 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.2307, allocations: 8 kB / 0.6701 GB, free: 15.82 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.0001227/0.2308, allocations: 130.6 kB / 0.6702 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.2309, allocations: 15.81 kB / 0.6702 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000519/0.2314, allocations: 197.5 kB / 0.6704 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.2314, allocations: 0 / 0.6704 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2315, allocations: 0 / 0.6704 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2315, allocations: 0 / 0.6704 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.2329, allocations: 0.9883 MB / 0.6714 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2329, allocations: 0 / 0.6714 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.2331, allocations: 35.98 kB / 0.6714 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2331, allocations: 0 / 0.6714 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.2332, allocations: 11.98 kB / 0.6714 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.2332, allocations: 3.938 kB / 0.6714 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2332, allocations: 0 / 0.6714 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004811/0.2337, allocations: 289 kB / 0.6717 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.365e-05/0.2337, allocations: 89.02 kB / 0.6718 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2338, allocations: 0 / 0.6718 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.234, allocations: 23.91 kB / 0.6718 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.234, allocations: 7.984 kB / 0.6718 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.2341, allocations: 4 kB / 0.6718 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.213e-05/0.2341, allocations: 130.6 kB / 0.672 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2342, allocations: 0 / 0.672 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004577/0.2346, allocations: 135.8 kB / 0.6721 GB, free: 13.57 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.0004003/0.235, allocations: 227 kB / 0.6723 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.2355, allocations: 175.8 kB / 0.6725 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2355, allocations: 0 / 0.6725 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.2358, allocations: 83.89 kB / 0.6725 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.2362, allocations: 46.39 kB / 0.6726 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.2369, allocations: 342.4 kB / 0.6729 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.2372, allocations: 0.7086 MB / 0.6736 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.464e-05/0.2373, allocations: 27.42 kB / 0.6736 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.2373, allocations: 0 / 0.6736 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of Templates: time 0.005905/0.2432, allocations: 3.852 MB / 0.6774 GB, free: 8.082 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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 & ./IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)