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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004649/0.004649, allocations: 97.11 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 196.9 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9796/0.9796, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4026, allocations: 81.02 MB / 0.6649 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002687/0.4053, allocations: 2.015 MB / 0.6668 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0019/0.4072, allocations: 1.666 MB / 0.6685 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.4073, allocations: 2.719 kB / 0.6685 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.432e-05/0.4074, allocations: 21.17 kB / 0.6685 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.501e-05/0.4075, allocations: 49.67 kB / 0.6685 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008306/0.4083, allocations: 357.8 kB / 0.6689 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001869/0.4085, allocations: 233.7 kB / 0.6691 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.4086, allocations: 52.77 kB / 0.6691 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.366e-05/0.4087, allocations: 85.25 kB / 0.6692 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.4089, allocations: 97.73 kB / 0.6693 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.4089, allocations: 23.34 kB / 0.6693 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006662/0.4096, allocations: 413.1 kB / 0.6697 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.4096, allocations: 41.92 kB / 0.6698 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.4097, allocations: 90.16 kB / 0.6699 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000494/0.4102, allocations: 439.7 kB / 0.6703 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.4102, allocations: 0 / 0.6703 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4102, allocations: 0 / 0.6703 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.4102, allocations: 1.188 kB / 0.6703 GB, free: 2.84 MB / 0.4981 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.0007425/0.411, allocations: 0.5232 MB / 0.6708 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.411, allocations: 10.47 kB / 0.6708 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.4111, allocations: 56.17 kB / 0.6709 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00107/0.4121, allocations: 136.9 kB / 0.671 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.666e-05/0.4122, allocations: 189.5 kB / 0.6712 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.543e-05/0.4123, allocations: 58.03 kB / 0.6712 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.4124, allocations: 18.16 kB / 0.6712 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.4129, allocations: 211.2 kB / 0.6714 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.4129, allocations: 1.062 kB / 0.6714 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.4129, allocations: 5.156 kB / 0.6715 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4129, allocations: 4.719 kB / 0.6715 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006859/0.4136, allocations: 242.2 kB / 0.6717 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.4148, allocations: 0.969 MB / 0.6726 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004357/0.4152, allocations: 183.1 kB / 0.6728 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.4156, allocations: 114.5 kB / 0.6729 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005351/0.4161, allocations: 0.5179 MB / 0.6734 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.4162, allocations: 44.7 kB / 0.6735 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.542e-06/0.4162, allocations: 0 / 0.6735 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.001189/0.4174, allocations: 328.9 kB / 0.6738 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.397e-05/0.4174, allocations: 58.12 kB / 0.6738 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.4176, allocations: 159.5 kB / 0.674 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.4177, allocations: 30.83 kB / 0.674 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4178, allocations: 118.9 kB / 0.6741 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.4178, allocations: 57.58 kB / 0.6742 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.4179, allocations: 39.89 kB / 0.6742 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.4181, allocations: 326 kB / 0.6745 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.4184, allocations: 104.2 kB / 0.6746 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.4188, allocations: 128.8 kB / 0.6748 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.4195, allocations: 192 kB / 0.6749 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4195, allocations: 0 / 0.6749 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008022/0.4203, allocations: 281.9 kB / 0.6752 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4204, allocations: 8.25 kB / 0.6752 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.4204, allocations: 5.469 kB / 0.6752 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4204, allocations: 5.906 kB / 0.6752 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.4207, allocations: 51.11 kB / 0.6753 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4208, allocations: 1.281 kB / 0.6753 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.421, allocations: 34.7 kB / 0.6753 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.391e-05/0.4211, allocations: 16.7 kB / 0.6753 GB, free: 14.59 MB / 0.5137 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 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.4212, allocations: 124.8 kB / 0.6754 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.4213, allocations: 15.39 kB / 0.6755 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008442/0.4221, allocations: 271.6 kB / 0.6757 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.4221, allocations: 2.938 kB / 0.6757 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.4221, allocations: 0 / 0.6757 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4221, allocations: 0 / 0.6757 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001866/0.424, allocations: 1.068 MB / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.424, allocations: 0 / 0.6768 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003113/0.4244, allocations: 46.33 kB / 0.6768 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4244, allocations: 5.188 kB / 0.6768 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.4244, allocations: 2.594 kB / 0.6768 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.4244, allocations: 4.875 kB / 0.6768 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4244, allocations: 0.875 kB / 0.6768 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008045/0.4252, allocations: 351.2 kB / 0.6772 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.89e-05/0.4253, allocations: 93.27 kB / 0.6772 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.4253, allocations: 6.562 kB / 0.6772 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.4257, allocations: 25 kB / 0.6773 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.4257, allocations: 9.203 kB / 0.6773 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.4257, allocations: 4.562 kB / 0.6773 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001015/0.4258, allocations: 124.8 kB / 0.6774 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4259, allocations: 5.625 kB / 0.6774 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004758/0.4263, allocations: 133.2 kB / 0.6775 GB, free: 12.71 MB / 0.5137 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.4278, allocations: 1.012 MB / 0.6785 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007753/0.4286, allocations: 234.5 kB / 0.6787 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4286, allocations: 1.125 kB / 0.6788 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003586/0.4289, allocations: 109.5 kB / 0.6789 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.4294, allocations: 56.95 kB / 0.6789 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005107/0.4345, allocations: 2.357 MB / 0.6812 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.4348, allocations: 0.7069 MB / 0.6819 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001805/0.435, allocations: 43.02 kB / 0.6819 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.4352, allocations: 46.16 kB / 0.682 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.4352, allocations: 0 / 0.682 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.4627, allocations: 6.343 MB / 0.6882 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.317, allocations: 4.5 kB / 0.6882 GB, free: 5.875 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IDEAS_dev_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)