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.001283/0.001283, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00126/0.001261, allocations: 193 kB / 16.67 MB, free: 6.582 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9372/0.9372, allocations: 135.5 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 0.5857 GB, free: 3.207 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.365, allocations: 81.02 MB / 0.6649 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002502/0.3675, allocations: 2.022 MB / 0.6668 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001829/0.3694, allocations: 1.666 MB / 0.6685 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.3695, allocations: 6.406 kB / 0.6685 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.3695, allocations: 13.45 kB / 0.6685 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.388e-05/0.3696, allocations: 54.39 kB / 0.6685 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008665/0.3705, allocations: 362.4 kB / 0.6689 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.3707, allocations: 227.7 kB / 0.6691 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3709, allocations: 46 kB / 0.6691 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.157e-05/0.371, allocations: 89.84 kB / 0.6692 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.3711, allocations: 88.64 kB / 0.6693 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.138e-05/0.3711, allocations: 27.25 kB / 0.6693 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000698/0.3718, allocations: 418.2 kB / 0.6697 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.517e-05/0.3719, allocations: 42.06 kB / 0.6698 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.372, allocations: 88.92 kB / 0.6699 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005159/0.3725, allocations: 443.7 kB / 0.6703 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3725, allocations: 1.469 kB / 0.6703 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3725, allocations: 0 / 0.6703 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.3725, allocations: 0 / 0.6703 GB, free: 3.039 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.0006954/0.3732, allocations: 0.5298 MB / 0.6708 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3733, allocations: 10.06 kB / 0.6708 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.3733, allocations: 51.77 kB / 0.6709 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.3744, allocations: 137.7 kB / 0.671 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.805e-05/0.3745, allocations: 188.9 kB / 0.6712 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.3746, allocations: 58.34 kB / 0.6712 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.3746, allocations: 19.03 kB / 0.6712 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005061/0.3751, allocations: 215 kB / 0.6714 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3751, allocations: 0 / 0.6714 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.3752, allocations: 9.266 kB / 0.6715 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.3752, allocations: 4.281 kB / 0.6715 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006933/0.3759, allocations: 238 kB / 0.6717 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.3771, allocations: 0.9744 MB / 0.6726 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004485/0.3775, allocations: 182.4 kB / 0.6728 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.3779, allocations: 115.3 kB / 0.6729 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005065/0.3784, allocations: 0.5163 MB / 0.6734 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3784, allocations: 31.75 kB / 0.6735 GB, free: 152 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.904e-06/0.3784, allocations: 4 kB / 0.6735 GB, free: 148 kB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.001168/0.3796, allocations: 331.3 kB / 0.6738 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3796, allocations: 60.62 kB / 0.6738 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3798, allocations: 159.3 kB / 0.674 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.3798, allocations: 32.14 kB / 0.674 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.3799, allocations: 117.6 kB / 0.6741 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.38, allocations: 58.02 kB / 0.6742 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.625e-05/0.3801, allocations: 39.8 kB / 0.6742 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3802, allocations: 326.7 kB / 0.6745 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.3806, allocations: 103.7 kB / 0.6746 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.381, allocations: 125.5 kB / 0.6748 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006556/0.3816, allocations: 199.3 kB / 0.6749 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3816, allocations: 0 / 0.6749 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008246/0.3825, allocations: 265 kB / 0.6752 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.3825, allocations: 13.28 kB / 0.6752 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3825, allocations: 5.188 kB / 0.6752 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3826, allocations: 1.281 kB / 0.6752 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.3829, allocations: 55.89 kB / 0.6753 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3829, allocations: 1.5 kB / 0.6753 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.3832, allocations: 37.56 kB / 0.6753 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.3833, allocations: 9.781 kB / 0.6753 GB, free: 14.79 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.000126/0.3834, allocations: 123.7 kB / 0.6754 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/0.3835, allocations: 16.27 kB / 0.6754 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008338/0.3843, allocations: 268.2 kB / 0.6757 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3843, allocations: 6.312 kB / 0.6757 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3843, allocations: 0 / 0.6757 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3843, allocations: 0 / 0.6757 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.3862, allocations: 1.074 MB / 0.6768 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3862, allocations: 1.438 kB / 0.6768 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.3865, allocations: 45.97 kB / 0.6768 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.3865, allocations: 1.406 kB / 0.6768 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.3865, allocations: 9.219 kB / 0.6768 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3866, allocations: 2.281 kB / 0.6768 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.3866, allocations: 1.406 kB / 0.6768 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/0.3873, allocations: 347.7 kB / 0.6771 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.974e-05/0.3874, allocations: 96.14 kB / 0.6772 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.3875, allocations: 6.25 kB / 0.6772 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003141/0.3878, allocations: 20.78 kB / 0.6773 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.3878, allocations: 14.58 kB / 0.6773 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.3879, allocations: 8.516 kB / 0.6773 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.493e-05/0.388, allocations: 116.7 kB / 0.6774 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.388, allocations: 4 kB / 0.6774 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004942/0.3885, allocations: 133.4 kB / 0.6775 GB, free: 12.91 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.001421/0.3899, allocations: 1.007 MB / 0.6785 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007912/0.3907, allocations: 239.4 kB / 0.6787 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3907, allocations: 1.125 kB / 0.6787 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.3911, allocations: 111.5 kB / 0.6788 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.3915, allocations: 48.48 kB / 0.6789 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005011/0.3965, allocations: 2.365 MB / 0.6812 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.3969, allocations: 0.7108 MB / 0.6819 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001784/0.397, allocations: 38.67 kB / 0.6819 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.3972, allocations: 47.25 kB / 0.682 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.3972, allocations: 0 / 0.682 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03873/0.4359, allocations: 6.341 MB / 0.6882 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.746/8.182, allocations: 5.266 kB / 0.6882 GB, free: 6.078 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 & /home/hudson/saved_omc/OMSimulator/install/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)