Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",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.001255/0.001255, allocations: 175.2 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.8189/0.8189, 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.607/1.607, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.000956/0.0009562, allocations: 106.7 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.749e-05/4.761e-05, allocations: 3.219 kB / 0.5601 GB, free: 87.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.232, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7283/0.9603, allocations: 117.9 MB / 0.7556 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.9606, allocations: 83.31 kB / 0.7557 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.9846, allocations: 8.268 MB / 0.7638 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9847, allocations: 4 kB / 0.7638 GB, free: 24.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.826e-05/0.9847, allocations: 3.844 kB / 0.7638 GB, free: 24.62 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001241/0.986, allocations: 496.6 kB / 0.7643 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.596e-05/0.986, allocations: 7.688 kB / 0.7643 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001152/0.9862, allocations: 60.05 kB / 0.7643 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.9873, allocations: 148.2 kB / 0.7645 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.9875, allocations: 174.7 kB / 0.7646 GB, free: 23.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.9877, allocations: 52.66 kB / 0.7647 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.9877, allocations: 18.66 kB / 0.7647 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.9881, allocations: 178.9 kB / 0.7649 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.9882, allocations: 0 / 0.7649 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.084e-05/0.9882, allocations: 10.59 kB / 0.7649 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.9882, allocations: 7.594 kB / 0.7649 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.9886, allocations: 175.5 kB / 0.7651 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.9903, allocations: 0.9924 MB / 0.766 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.9906, allocations: 148.6 kB / 0.7662 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.9907, allocations: 83.48 kB / 0.7662 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006969/0.9914, allocations: 0.5221 MB / 0.7668 GB, free: 22.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.9915, allocations: 34.52 kB / 0.7668 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.9915, allocations: 0 / 0.7668 GB, free: 22.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0004174/0.9919, allocations: 181 kB / 0.767 GB, free: 22.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.992, allocations: 59.06 kB / 0.767 GB, free: 22.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.9921, allocations: 143.5 kB / 0.7672 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.9922, allocations: 33.05 kB / 0.7672 GB, free: 22.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.423e-05/0.9923, allocations: 114.2 kB / 0.7673 GB, free: 21.9 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.605e-05/0.9923, allocations: 59 kB / 0.7673 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.9923, allocations: 2.938 kB / 0.7674 GB, free: 21.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9925, allocations: 324.4 kB / 0.7677 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.9926, allocations: 76.88 kB / 0.7677 GB, free: 21.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.9927, allocations: 93.45 kB / 0.7678 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.9929, allocations: 60.98 kB / 0.7679 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.9929, allocations: 3.844 kB / 0.7679 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003609/0.9932, allocations: 212.5 kB / 0.7681 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.9933, allocations: 4.594 kB / 0.7681 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.9933, allocations: 0 / 0.7681 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.9933, allocations: 7.891 kB / 0.7681 GB, free: 21.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.9937, allocations: 50.08 kB / 0.7681 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.9937, allocations: 3.75 kB / 0.7681 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.994, allocations: 34.75 kB / 0.7682 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.994, allocations: 15.62 kB / 0.7682 GB, free: 21.41 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 (22): * Single equations (assignments): 22 * 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.0001041/0.9941, allocations: 108.3 kB / 0.7683 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.9942, allocations: 15.19 kB / 0.7683 GB, free: 21.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003966/0.9946, allocations: 209.3 kB / 0.7685 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.758e-06/0.9946, allocations: 3.953 kB / 0.7685 GB, free: 21.22 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.9946, allocations: 4 kB / 0.7685 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.9946, allocations: 3.844 kB / 0.7685 GB, free: 21.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.996, allocations: 1.015 MB / 0.7695 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.996, allocations: 3.969 kB / 0.7695 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.9963, allocations: 46.45 kB / 0.7696 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.9963, allocations: 3.844 kB / 0.7696 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.9964, allocations: 4 kB / 0.7696 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.9964, allocations: 7.781 kB / 0.7696 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.9964, allocations: 0 / 0.7696 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.9968, allocations: 319.5 kB / 0.7699 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.9968, allocations: 92.72 kB / 0.77 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.9969, allocations: 7.312 kB / 0.77 GB, free: 19.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.9972, allocations: 26.78 kB / 0.77 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.545e-05/0.9973, allocations: 11.67 kB / 0.77 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.9973, allocations: 15.02 kB / 0.77 GB, free: 19.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.611e-05/0.9974, allocations: 115 kB / 0.7701 GB, free: 19.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9974, allocations: 3.938 kB / 0.7701 GB, free: 19.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005451/0.998, allocations: 142.5 kB / 0.7703 GB, free: 19.84 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 (16): * Single equations (assignments): 16 * 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.001237/0.9992, allocations: 1.118 MB / 0.7714 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003239/0.9995, allocations: 168.6 kB / 0.7715 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.9996, allocations: 0 / 0.7715 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.9997, allocations: 85.67 kB / 0.7716 GB, free: 18.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/1, allocations: 42.89 kB / 0.7717 GB, free: 18.89 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/1.002, allocations: 435.4 kB / 0.7721 GB, free: 18.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/1.002, allocations: 0.7158 MB / 0.7728 GB, free: 17.92 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002152/1.003, allocations: 38.31 kB / 0.7728 GB, free: 17.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/1.003, allocations: 44.83 kB / 0.7728 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of SimCode: time 3.31e-07/1.003, allocations: 0 / 0.7728 GB, free: 17.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/1.023, allocations: 5.652 MB / 0.7784 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/1.023, allocations: 161 kB / 0.7785 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.934, allocations: 0 / 0.7785 GB, free: 13.09 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)