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: translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.004757/0.004757, allocations: 102 kB / 15.73 MB, free: 6.445 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.0013/0.0013, allocations: 196.3 kB / 16.67 MB, free: 6.352 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.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.039/1.039, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 0.5862 GB, free: 2.691 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4817/0.4837, allocations: 81.02 MB / 0.6654 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002882/0.4866, allocations: 2.01 MB / 0.6673 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.4886, allocations: 1.666 MB / 0.6689 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.22e-05/0.4887, allocations: 1.406 kB / 0.6689 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.78e-05/0.4888, allocations: 21.19 kB / 0.669 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.935e-05/0.4889, allocations: 50.42 kB / 0.669 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009066/0.4898, allocations: 357.9 kB / 0.6694 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.49, allocations: 217.8 kB / 0.6696 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.4902, allocations: 49.12 kB / 0.6696 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.697e-05/0.4903, allocations: 79.86 kB / 0.6697 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.4904, allocations: 88.05 kB / 0.6698 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.4905, allocations: 22.41 kB / 0.6698 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007332/0.4912, allocations: 412.5 kB / 0.6702 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.4913, allocations: 49.11 kB / 0.6702 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.217e-05/0.4914, allocations: 86.06 kB / 0.6703 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005436/0.4919, allocations: 426.5 kB / 0.6707 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4919, allocations: 3.984 kB / 0.6707 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4919, allocations: 0 / 0.6707 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.331e-06/0.4919, allocations: 0 / 0.6707 GB, free: 3.332 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.0007187/0.4927, allocations: 0.5224 MB / 0.6712 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.4927, allocations: 10.22 kB / 0.6712 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/0.4933, allocations: 89.58 kB / 0.6713 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.4934, allocations: 189.3 kB / 0.6715 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/0.4935, allocations: 45.67 kB / 0.6716 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.4935, allocations: 18.59 kB / 0.6716 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.494, allocations: 185.9 kB / 0.6717 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.494, allocations: 4 kB / 0.6718 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.494, allocations: 5.094 kB / 0.6718 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.494, allocations: 3.906 kB / 0.6718 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.4945, allocations: 178.8 kB / 0.6719 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.4957, allocations: 0.9285 MB / 0.6728 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005045/0.4962, allocations: 171.1 kB / 0.673 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.4964, allocations: 72.95 kB / 0.6731 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.4969, allocations: 0.5198 MB / 0.6736 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.497, allocations: 36.88 kB / 0.6736 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.497, allocations: 0 / 0.6736 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0007168/0.4977, allocations: 240 kB / 0.6738 GB, free: 500 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.233e-05/0.4977, allocations: 52.75 kB / 0.6739 GB, free: 436 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.4978, allocations: 161.3 kB / 0.674 GB, free: 304 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.4979, allocations: 31.14 kB / 0.6741 GB, free: 268 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.4979, allocations: 117 kB / 0.6742 GB, free: 152 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.498, allocations: 54.5 kB / 0.6742 GB, free: 104 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-05/0.4981, allocations: 33.55 kB / 0.6743 GB, free: 76 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4982, allocations: 338.7 kB / 0.6746 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.4985, allocations: 71.64 kB / 0.6747 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/0.4987, allocations: 98.81 kB / 0.6748 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/0.4991, allocations: 157.1 kB / 0.6749 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.4992, allocations: 0 / 0.6749 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005523/0.4997, allocations: 213.6 kB / 0.6751 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4997, allocations: 9.531 kB / 0.6751 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4998, allocations: 0 / 0.6751 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4998, allocations: 2.312 kB / 0.6751 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.5, allocations: 43.88 kB / 0.6752 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.5001, allocations: 1.375 kB / 0.6752 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.5003, allocations: 27.55 kB / 0.6752 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.5003, allocations: 5.312 kB / 0.6752 GB, free: 15.39 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.0001293/0.5004, allocations: 128.1 kB / 0.6753 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.5005, allocations: 10.11 kB / 0.6753 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005815/0.5011, allocations: 196.9 kB / 0.6755 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.5011, allocations: 1.25 kB / 0.6755 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5011, allocations: 1.219 kB / 0.6755 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.5011, allocations: 3.984 kB / 0.6755 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.5028, allocations: 0.9784 MB / 0.6765 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5028, allocations: 0 / 0.6765 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002047/0.5031, allocations: 34.16 kB / 0.6765 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.5031, allocations: 1.594 kB / 0.6765 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.024e-05/0.5031, allocations: 9.75 kB / 0.6765 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.5031, allocations: 5.531 kB / 0.6765 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5031, allocations: 1.531 kB / 0.6765 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005551/0.5037, allocations: 289.9 kB / 0.6768 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.79e-05/0.5038, allocations: 96.67 kB / 0.6769 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.5038, allocations: 1.406 kB / 0.6769 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.504, allocations: 23.78 kB / 0.6769 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.5041, allocations: 9.922 kB / 0.6769 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/0.5041, allocations: 4.312 kB / 0.6769 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001108/0.5042, allocations: 120.6 kB / 0.677 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5042, allocations: 0 / 0.677 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005615/0.5048, allocations: 138.9 kB / 0.6772 GB, free: 13.63 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.0004825/0.5053, allocations: 232.8 kB / 0.6774 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.5058, allocations: 170 kB / 0.6776 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5058, allocations: 0 / 0.6776 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.5061, allocations: 87.7 kB / 0.6776 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.5065, allocations: 43.92 kB / 0.6777 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007626/0.5073, allocations: 316.9 kB / 0.678 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.5077, allocations: 0.7045 MB / 0.6787 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.5078, allocations: 36.03 kB / 0.6787 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.5079, allocations: 21.98 kB / 0.6787 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.5079, allocations: 0 / 0.6787 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.009463/0.5174, allocations: 4.279 MB / 0.6829 GB, free: 10.21 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)