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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001962/0.001962, allocations: 174.7 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 1.093/1.093, 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.679/1.679, allocations: 221.3 MB / 400.4 MB, free: 5.852 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.0009385/0.0009384, allocations: 98.11 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.572e-05, allocations: 3.625 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1835, allocations: 82.3 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6737/0.8572, allocations: 117.8 MB / 0.7556 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.8575, allocations: 89.28 kB / 0.7557 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02197/0.8795, allocations: 8.202 MB / 0.7637 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8796, allocations: 0 / 0.7637 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.8796, allocations: 3.844 kB / 0.7637 GB, free: 24.77 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.0008968/0.8805, allocations: 494.5 kB / 0.7641 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.8805, allocations: 15.62 kB / 0.7642 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.607e-05/0.8806, allocations: 50.11 kB / 0.7642 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005178/0.8812, allocations: 97.36 kB / 0.7643 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.8813, allocations: 174.7 kB / 0.7645 GB, free: 24.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.8814, allocations: 50.97 kB / 0.7645 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.8815, allocations: 11.47 kB / 0.7645 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003162/0.8818, allocations: 164.2 kB / 0.7647 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8818, allocations: 0 / 0.7647 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.8819, allocations: 6.938 kB / 0.7647 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8819, allocations: 3.938 kB / 0.7647 GB, free: 23.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.8821, allocations: 158 kB / 0.7648 GB, free: 23.92 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.8836, allocations: 0.9361 MB / 0.7658 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002364/0.8839, allocations: 129.7 kB / 0.7659 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.695e-05/0.884, allocations: 70.97 kB / 0.7659 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/0.8847, allocations: 0.5167 MB / 0.7665 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.8847, allocations: 37.83 kB / 0.7665 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.8847, allocations: 3.938 kB / 0.7665 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.000351/0.8851, allocations: 147.9 kB / 0.7666 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.8851, allocations: 55.5 kB / 0.7667 GB, free: 22.33 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.8853, allocations: 143.6 kB / 0.7668 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.8853, allocations: 32.83 kB / 0.7669 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.8854, allocations: 117.2 kB / 0.767 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.8855, allocations: 54.05 kB / 0.767 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.8855, allocations: 0 / 0.767 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002092/0.8857, allocations: 325.1 kB / 0.7673 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.8859, allocations: 62.22 kB / 0.7674 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.886, allocations: 84.91 kB / 0.7675 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.8862, allocations: 51.5 kB / 0.7675 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.8862, allocations: 0 / 0.7675 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003235/0.8865, allocations: 195.2 kB / 0.7677 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8865, allocations: 3.844 kB / 0.7677 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8866, allocations: 0 / 0.7677 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.8866, allocations: 3.844 kB / 0.7677 GB, free: 21.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.8868, allocations: 42.88 kB / 0.7677 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.8868, allocations: 3.969 kB / 0.7678 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.8871, allocations: 27.14 kB / 0.7678 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.8871, allocations: 3.969 kB / 0.7678 GB, free: 21.63 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 9.356e-05/0.8872, allocations: 104.2 kB / 0.7679 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.8873, allocations: 23.38 kB / 0.7679 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.8876, allocations: 179.2 kB / 0.7681 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8876, allocations: 3.844 kB / 0.7681 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.8876, allocations: 0 / 0.7681 GB, free: 21.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.8876, allocations: 3.938 kB / 0.7681 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.8889, allocations: 0.9484 MB / 0.769 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8889, allocations: 0 / 0.769 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.8891, allocations: 34.78 kB / 0.769 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.8891, allocations: 3.812 kB / 0.769 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.8891, allocations: 3.875 kB / 0.769 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.8891, allocations: 3.719 kB / 0.7691 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.8891, allocations: 4.062 kB / 0.7691 GB, free: 20.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.8895, allocations: 284.2 kB / 0.7693 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.8895, allocations: 99.84 kB / 0.7694 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.263e-05/0.8896, allocations: 6.312 kB / 0.7694 GB, free: 20.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.8898, allocations: 22.14 kB / 0.7695 GB, free: 20.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.8899, allocations: 19.58 kB / 0.7695 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.8899, allocations: 6.875 kB / 0.7695 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.714e-05/0.89, allocations: 124.4 kB / 0.7696 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.89, allocations: 0 / 0.7696 GB, free: 20.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004815/0.8905, allocations: 136.9 kB / 0.7697 GB, free: 20.09 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.001189/0.8917, allocations: 1.083 MB / 0.7708 GB, free: 19.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002713/0.8919, allocations: 146.4 kB / 0.7709 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.892, allocations: 0 / 0.7709 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.8921, allocations: 71 kB / 0.771 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.8924, allocations: 36.53 kB / 0.771 GB, free: 19.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000734/0.8931, allocations: 295.2 kB / 0.7713 GB, free: 18.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003421/0.8935, allocations: 0.7117 MB / 0.772 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.8937, allocations: 33.69 kB / 0.772 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.8938, allocations: 42.2 kB / 0.7721 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of SimCode: time 3.7e-07/0.8938, allocations: 0 / 0.7721 GB, free: 18.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.9148, allocations: 5.368 MB / 0.7773 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.9151, allocations: 167.8 kB / 0.7775 GB, free: 13.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/2.699, allocations: 0 / 0.7775 GB, free: 13.93 MB / 0.5105 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/linux/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)