Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="IDEAS_dev_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.001423/0.001424, 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.7194/0.7194, 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.555/1.555, 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.0009034/0.0009034, allocations: 92.22 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.906e-05/4.927e-05, allocations: 3.094 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2027, allocations: 82.31 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7254/0.9282, allocations: 117.9 MB / 0.7556 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.9286, allocations: 82.7 kB / 0.7557 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02212/0.9507, allocations: 8.27 MB / 0.7638 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9508, allocations: 0 / 0.7638 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.353e-05/0.9508, allocations: 3.875 kB / 0.7638 GB, free: 24.83 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.0009844/0.9518, allocations: 0.4894 MB / 0.7643 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.296e-05/0.9519, allocations: 7.688 kB / 0.7643 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.341e-05/0.952, allocations: 54.61 kB / 0.7643 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.9531, allocations: 148.2 kB / 0.7645 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.9532, allocations: 174.7 kB / 0.7646 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.9534, allocations: 50.5 kB / 0.7647 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.814e-05/0.9534, allocations: 14.91 kB / 0.7647 GB, free: 24.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.9538, allocations: 187.4 kB / 0.7649 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9538, allocations: 0 / 0.7649 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.9538, allocations: 7.375 kB / 0.7649 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.9538, allocations: 3.844 kB / 0.7649 GB, free: 23.97 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.9541, allocations: 182.9 kB / 0.7651 GB, free: 23.95 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.9556, allocations: 0.9906 MB / 0.766 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.9559, allocations: 148.9 kB / 0.7662 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.956, allocations: 84.53 kB / 0.7662 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.9567, allocations: 0.5142 MB / 0.7667 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.9567, allocations: 41.69 kB / 0.7668 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=16): time 2.043e-06/0.9568, allocations: 0 / 0.7668 GB, free: 22.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=16): time 0.0003858/0.9571, allocations: 175.6 kB / 0.767 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.9572, allocations: 51.41 kB / 0.767 GB, free: 22.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.9573, allocations: 150.3 kB / 0.7671 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.569e-05/0.9574, allocations: 28.95 kB / 0.7672 GB, free: 22.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.899e-05/0.9575, allocations: 122.8 kB / 0.7673 GB, free: 22.11 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.124e-05/0.9575, allocations: 56 kB / 0.7673 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.9575, allocations: 10.91 kB / 0.7674 GB, free: 22.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.9577, allocations: 318.3 kB / 0.7677 GB, free: 21.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.9578, allocations: 73.69 kB / 0.7677 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.9579, allocations: 97.2 kB / 0.7678 GB, free: 21.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.9581, allocations: 64.61 kB / 0.7679 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9581, allocations: 0 / 0.7679 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000333/0.9584, allocations: 218.8 kB / 0.7681 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.9584, allocations: 8.922 kB / 0.7681 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.9584, allocations: 0 / 0.7681 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.9585, allocations: 7.797 kB / 0.7681 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.9588, allocations: 46.5 kB / 0.7681 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.9588, allocations: 3.844 kB / 0.7682 GB, free: 21.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002784/0.9591, allocations: 34.34 kB / 0.7682 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.9591, allocations: 3.844 kB / 0.7682 GB, free: 21.62 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.0001134/0.9593, allocations: 114.4 kB / 0.7683 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.9593, allocations: 15.62 kB / 0.7683 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.9597, allocations: 211.7 kB / 0.7685 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9597, allocations: 3.953 kB / 0.7685 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9597, allocations: 3.938 kB / 0.7685 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.9597, allocations: 0 / 0.7685 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.9611, allocations: 1.02 MB / 0.7695 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.9611, allocations: 7.797 kB / 0.7695 GB, free: 20.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.9614, allocations: 38.62 kB / 0.7696 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.9614, allocations: 4.062 kB / 0.7696 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.9615, allocations: 3.844 kB / 0.7696 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.9615, allocations: 0 / 0.7696 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.9615, allocations: 3.938 kB / 0.7696 GB, free: 20.49 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.9618, allocations: 316.8 kB / 0.7699 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.039e-05/0.9619, allocations: 99.84 kB / 0.77 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.962, allocations: 3.188 kB / 0.77 GB, free: 20.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/0.9623, allocations: 30.58 kB / 0.77 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.9623, allocations: 11.83 kB / 0.77 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.9624, allocations: 7.797 kB / 0.77 GB, free: 20.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.588e-05/0.9624, allocations: 129.7 kB / 0.7701 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9625, allocations: 0 / 0.7701 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005268/0.963, allocations: 138.4 kB / 0.7703 GB, free: 20.04 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.001207/0.9642, allocations: 1.123 MB / 0.7714 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.9645, allocations: 166.1 kB / 0.7715 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9645, allocations: 3.844 kB / 0.7715 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.9647, allocations: 84.39 kB / 0.7716 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.965, allocations: 46.36 kB / 0.7717 GB, free: 19.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001953/0.9669, allocations: 440.1 kB / 0.7721 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003155/0.9673, allocations: 0.7122 MB / 0.7728 GB, free: 18.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.9675, allocations: 26.69 kB / 0.7728 GB, free: 18.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.9676, allocations: 48.25 kB / 0.7728 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.9676, allocations: 0 / 0.7728 GB, free: 18.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.9867, allocations: 5.644 MB / 0.7784 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001772/0.9869, allocations: 170.4 kB / 0.7785 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.897, allocations: 4 kB / 0.7785 GB, free: 13.12 MB / 0.5105 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)