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.001119/0.001119, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7582/0.7582, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.656/1.656, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009237/0.0009237, allocations: 99.3 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.869e-05/1.873e-05, allocations: 4 kB / 0.5536 GB, free: 8.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5632/0.5633, allocations: 82.3 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.7318, allocations: 117.2 MB / 0.7484 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/0.7323, allocations: 91.92 kB / 0.7485 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02539/0.7577, allocations: 8.217 MB / 0.7565 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7577, allocations: 0 / 0.7565 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.7577, allocations: 4 kB / 0.7565 GB, free: 13.11 MB / 0.5417 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.001004/0.7587, allocations: 498 kB / 0.757 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7588, allocations: 12.03 kB / 0.757 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.7599, allocations: 148.3 kB / 0.7571 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.7601, allocations: 178.8 kB / 0.7573 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.7602, allocations: 45.69 kB / 0.7574 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.445e-05/0.7603, allocations: 8 kB / 0.7574 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003591/0.7607, allocations: 164 kB / 0.7575 GB, free: 11.99 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003253/0.761, allocations: 169.1 kB / 0.7577 GB, free: 11.82 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.761, allocations: 8 kB / 0.7577 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.761, allocations: 0 / 0.7577 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.7611, allocations: 4 kB / 0.7577 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001684/0.7628, allocations: 0.9407 MB / 0.7586 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.763, allocations: 142.7 kB / 0.7587 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.7632, allocations: 72.86 kB / 0.7588 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007119/0.7639, allocations: 0.522 MB / 0.7593 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.7639, allocations: 30.56 kB / 0.7593 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.7639, allocations: 0 / 0.7593 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001439/0.7654, allocations: 295.3 kB / 0.7596 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.7654, allocations: 51.41 kB / 0.7597 GB, free: 9.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.7656, allocations: 125 kB / 0.7598 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.7656, allocations: 25.7 kB / 0.7598 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.7657, allocations: 124.2 kB / 0.7599 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.7658, allocations: 55.19 kB / 0.76 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.406e-05/0.7658, allocations: 0 / 0.76 GB, free: 9.156 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.766, allocations: 322.8 kB / 0.7603 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.7661, allocations: 64.38 kB / 0.7604 GB, free: 8.766 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.7663, allocations: 92.89 kB / 0.7605 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.7674, allocations: 180.8 kB / 0.7606 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.7674, allocations: 0 / 0.7606 GB, free: 8.496 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001376/0.7688, allocations: 321.7 kB / 0.7609 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.7689, allocations: 5.562 kB / 0.7609 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.7689, allocations: 0 / 0.7609 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.7689, allocations: 7.938 kB / 0.7609 GB, free: 8.168 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/0.7693, allocations: 51.98 kB / 0.761 GB, free: 8.117 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7693, allocations: 3.984 kB / 0.761 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002835/0.7696, allocations: 35.72 kB / 0.761 GB, free: 8.078 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.7697, allocations: 11.98 kB / 0.761 GB, free: 8.066 MB / 0.5417 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.0001167/0.7698, allocations: 105 kB / 0.7611 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001266/0.7711, allocations: 281.4 kB / 0.7614 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.238e-05/0.7711, allocations: 15.83 kB / 0.7614 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.7724, allocations: 303.8 kB / 0.7617 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.7725, allocations: 7.953 kB / 0.7617 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.7725, allocations: 0 / 0.7617 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.7725, allocations: 3.984 kB / 0.7617 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.7749, allocations: 1.079 MB / 0.7628 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.7749, allocations: 4 kB / 0.7628 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.7753, allocations: 47.86 kB / 0.7628 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.7753, allocations: 4.062 kB / 0.7628 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.7753, allocations: 4 kB / 0.7628 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7753, allocations: 4 kB / 0.7628 GB, free: 6.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7753, allocations: 3.984 kB / 0.7628 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.7767, allocations: 411.3 kB / 0.7632 GB, free: 5.633 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.7768, allocations: 92.92 kB / 0.7633 GB, free: 5.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.426e-05/0.7768, allocations: 4 kB / 0.7633 GB, free: 5.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.7771, allocations: 23.97 kB / 0.7634 GB, free: 5.496 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.7772, allocations: 15.97 kB / 0.7634 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.7772, allocations: 8 kB / 0.7634 GB, free: 5.473 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.112e-05/0.7773, allocations: 95.22 kB / 0.7635 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7773, allocations: 0 / 0.7635 GB, free: 5.379 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006016/0.7779, allocations: 139.8 kB / 0.7636 GB, free: 5.242 MB / 0.5417 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.002294/0.7802, allocations: 1.212 MB / 0.7648 GB, free: 3.988 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003508/0.7806, allocations: 159.9 kB / 0.7649 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7806, allocations: 0 / 0.7649 GB, free: 3.832 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.7807, allocations: 83.92 kB / 0.765 GB, free: 3.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.7811, allocations: 30.02 kB / 0.765 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.7832, allocations: 419.6 kB / 0.7654 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.7836, allocations: 0.7124 MB / 0.7661 GB, free: 2.531 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002087/0.7839, allocations: 29.12 kB / 0.7662 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.784, allocations: 51.41 kB / 0.7662 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of SimCode: time 4.5e-07/0.784, allocations: 4 kB / 0.7662 GB, free: 2.449 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.8138, allocations: 4.67 MB / 0.7708 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002634/0.8142, allocations: 144.5 kB / 0.7709 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.622, allocations: 0 / 0.7709 GB, free: 13.62 MB / 0.5573 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)