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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.729/0.729, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.61/1.61, allocations: 221.3 MB / 400.4 MB, free: 5.848 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009864/0.0009863, allocations: 92.78 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.634e-05/4.634e-05, allocations: 3.875 kB / 0.5601 GB, free: 87.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2039, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6798/0.8838, allocations: 117.8 MB / 0.7556 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002138/0.884, allocations: 91.19 kB / 0.7557 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02174/0.9058, allocations: 8.207 MB / 0.7637 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9058, allocations: 0 / 0.7637 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.9058, allocations: 3.844 kB / 0.7637 GB, free: 24.41 MB / 0.5105 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.0007613/0.9066, allocations: 495.6 kB / 0.7641 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.9067, allocations: 11.91 kB / 0.7642 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.577e-05/0.9067, allocations: 53.08 kB / 0.7642 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.9072, allocations: 92.44 kB / 0.7643 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001356/0.9073, allocations: 178.8 kB / 0.7645 GB, free: 23.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-05/0.9074, allocations: 46.52 kB / 0.7645 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.96e-05/0.9075, allocations: 10.47 kB / 0.7645 GB, free: 23.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.9078, allocations: 160.6 kB / 0.7647 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.9078, allocations: 0 / 0.7647 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.9078, allocations: 10.19 kB / 0.7647 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.9078, allocations: 3.781 kB / 0.7647 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.9081, allocations: 155 kB / 0.7648 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001348/0.9094, allocations: 0.9437 MB / 0.7658 GB, free: 22.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.9097, allocations: 133.5 kB / 0.7659 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.66e-05/0.9098, allocations: 68.05 kB / 0.7659 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/0.9105, allocations: 0.5149 MB / 0.7665 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.9105, allocations: 38.45 kB / 0.7665 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.9106, allocations: 4 kB / 0.7665 GB, free: 22.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0003176/0.9109, allocations: 148.8 kB / 0.7666 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.9109, allocations: 51.66 kB / 0.7667 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.911, allocations: 144.8 kB / 0.7668 GB, free: 21.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.9111, allocations: 29.14 kB / 0.7668 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.873e-05/0.9112, allocations: 122 kB / 0.767 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-05/0.9112, allocations: 46.14 kB / 0.767 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.9112, allocations: 3.5 kB / 0.767 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.9113, allocations: 330.3 kB / 0.7673 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-05/0.9114, allocations: 61.8 kB / 0.7674 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.9116, allocations: 77.98 kB / 0.7675 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.9117, allocations: 63.83 kB / 0.7675 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.9117, allocations: 0 / 0.7675 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002695/0.9119, allocations: 184 kB / 0.7677 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.912, allocations: 7.656 kB / 0.7677 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.912, allocations: 0 / 0.7677 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.912, allocations: 4.031 kB / 0.7677 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/0.9122, allocations: 42.31 kB / 0.7677 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.954e-06/0.9123, allocations: 0 / 0.7677 GB, free: 21.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.9124, allocations: 30.44 kB / 0.7678 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.9125, allocations: 3.844 kB / 0.7678 GB, free: 21.28 MB / 0.5105 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 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001493/0.9126, allocations: 115.4 kB / 0.7679 GB, free: 21.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.225e-05/0.9127, allocations: 19.67 kB / 0.7679 GB, free: 21.16 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003554/0.913, allocations: 172.2 kB / 0.7681 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.9131, allocations: 3.938 kB / 0.7681 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.9131, allocations: 4 kB / 0.7681 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.9131, allocations: 0 / 0.7681 GB, free: 21.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.9145, allocations: 0.9575 MB / 0.769 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.9145, allocations: 0 / 0.769 GB, free: 20.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.9147, allocations: 35.38 kB / 0.7691 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.9147, allocations: 0 / 0.7691 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.9147, allocations: 3.875 kB / 0.7691 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.9147, allocations: 0 / 0.7691 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.9147, allocations: 7.906 kB / 0.7691 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.915, allocations: 289.9 kB / 0.7693 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.771e-05/0.9151, allocations: 91.66 kB / 0.7694 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.9151, allocations: 3.812 kB / 0.7694 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.9154, allocations: 23.5 kB / 0.7695 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.9154, allocations: 15.72 kB / 0.7695 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.9154, allocations: 7.031 kB / 0.7695 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 9.114e-05/0.9155, allocations: 123.9 kB / 0.7696 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9155, allocations: 0 / 0.7696 GB, free: 19.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005153/0.9161, allocations: 142 kB / 0.7697 GB, free: 19.74 MB / 0.5105 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009751/0.917, allocations: 1.084 MB / 0.7708 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.9173, allocations: 141.6 kB / 0.7709 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9173, allocations: 0 / 0.7709 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.9175, allocations: 76.11 kB / 0.771 GB, free: 18.81 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.9177, allocations: 32.02 kB / 0.771 GB, free: 18.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000603/0.9183, allocations: 294 kB / 0.7713 GB, free: 18.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.9187, allocations: 0.7113 MB / 0.772 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.9188, allocations: 33.91 kB / 0.772 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/0.9189, allocations: 46.48 kB / 0.7721 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of SimCode: time 2.31e-07/0.9189, allocations: 0 / 0.7721 GB, free: 17.85 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/0.9392, allocations: 5.374 MB / 0.7773 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.9394, allocations: 178.2 kB / 0.7775 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.816/2.755, allocations: 3.75 kB / 0.7775 GB, free: 13.58 MB / 0.5105 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)