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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007272/0.0007272, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004171/0.004171, allocations: 170 kB / 16.26 MB, free: 6.613 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.219/1.219, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6893/0.6893, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003093, allocations: 8.875 kB / 0.5041 GB, free: 3.805 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3606, allocations: 81.57 MB / 0.5837 GB, free: 3.887 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.00198/0.3626, allocations: 1.744 MB / 0.5854 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00227/0.3649, allocations: 1.71 MB / 0.5871 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.365, allocations: 1.312 kB / 0.5871 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.3651, allocations: 21.02 kB / 0.5871 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.3652, allocations: 40.67 kB / 0.5872 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009984/0.3662, allocations: 299.3 kB / 0.5875 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.3665, allocations: 217.8 kB / 0.5877 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3666, allocations: 48.55 kB / 0.5877 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.3668, allocations: 69.36 kB / 0.5878 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.367, allocations: 89.83 kB / 0.5879 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.124e-05/0.367, allocations: 14.03 kB / 0.5879 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008664/0.3679, allocations: 384.8 kB / 0.5883 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.3679, allocations: 29.75 kB / 0.5883 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.368, allocations: 114.3 kB / 0.5884 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007468/0.3688, allocations: 432.9 kB / 0.5888 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3688, allocations: 0 / 0.5888 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3688, allocations: 1.375 kB / 0.5888 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.3688, allocations: 4 kB / 0.5888 GB, free: 0.6953 MB / 430.1 MB 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.0008344/0.3697, allocations: 0.4899 MB / 0.5893 GB, free: 260 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3697, allocations: 9.391 kB / 0.5893 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.329e-05/0.3698, allocations: 52.11 kB / 0.5893 GB, free: 208 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.3709, allocations: 145.8 kB / 0.5895 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.3711, allocations: 181.3 kB / 0.5897 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.523e-05/0.3712, allocations: 51.11 kB / 0.5897 GB, free: 15.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.929e-05/0.3712, allocations: 18.75 kB / 0.5897 GB, free: 15.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.3718, allocations: 215.1 kB / 0.5899 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.3719, allocations: 4 kB / 0.5899 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.3719, allocations: 6.312 kB / 0.5899 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3719, allocations: 2.906 kB / 0.5899 GB, free: 15.83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007822/0.3727, allocations: 241 kB / 0.5902 GB, free: 15.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.3742, allocations: 0.9603 MB / 0.5911 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.3747, allocations: 192.8 kB / 0.5913 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003542/0.375, allocations: 114.1 kB / 0.5914 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006138/0.3757, allocations: 0.5171 MB / 0.5919 GB, free: 14.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3757, allocations: 32.06 kB / 0.5919 GB, free: 14.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.3757, allocations: 0.625 kB / 0.5919 GB, free: 14.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001162/0.3769, allocations: 333.1 kB / 0.5923 GB, free: 14.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.3769, allocations: 54.16 kB / 0.5923 GB, free: 13.99 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.3771, allocations: 168.5 kB / 0.5925 GB, free: 13.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3771, allocations: 30.45 kB / 0.5925 GB, free: 13.83 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.3772, allocations: 119.3 kB / 0.5926 GB, free: 13.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.3773, allocations: 58.66 kB / 0.5927 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.3773, allocations: 21.92 kB / 0.5927 GB, free: 13.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3774, allocations: 329.7 kB / 0.593 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.3778, allocations: 105.6 kB / 0.5931 GB, free: 13.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.3782, allocations: 124.1 kB / 0.5932 GB, free: 13.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.3789, allocations: 196.1 kB / 0.5934 GB, free: 13.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3789, allocations: 0.6875 kB / 0.5934 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008372/0.3797, allocations: 281.5 kB / 0.5937 GB, free: 13.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3797, allocations: 5.938 kB / 0.5937 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.3798, allocations: 4.469 kB / 0.5937 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3798, allocations: 2.766 kB / 0.5937 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/0.3802, allocations: 50.67 kB / 0.5937 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3802, allocations: 1.781 kB / 0.5937 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/0.3805, allocations: 37.56 kB / 0.5938 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.186e-05/0.3805, allocations: 5.984 kB / 0.5938 GB, free: 13.02 MB / 446.1 MB 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.0001166/0.3807, allocations: 125.1 kB / 0.5939 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.3807, allocations: 16.06 kB / 0.5939 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008436/0.3816, allocations: 280.7 kB / 0.5942 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3816, allocations: 2.312 kB / 0.5942 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.3816, allocations: 0 / 0.5942 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3816, allocations: 1.359 kB / 0.5942 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001766/0.3834, allocations: 1.08 MB / 0.5952 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3834, allocations: 0.6094 kB / 0.5952 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.3837, allocations: 48.16 kB / 0.5953 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.3837, allocations: 2 kB / 0.5953 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.3837, allocations: 7.188 kB / 0.5953 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3837, allocations: 1 kB / 0.5953 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3837, allocations: 2.047 kB / 0.5953 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007839/0.3845, allocations: 352.7 kB / 0.5956 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.3846, allocations: 96.58 kB / 0.5957 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/0.3846, allocations: 6.609 kB / 0.5957 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003131/0.385, allocations: 21.84 kB / 0.5958 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.385, allocations: 21.98 kB / 0.5958 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.385, allocations: 9.266 kB / 0.5958 GB, free: 11.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.897e-05/0.3851, allocations: 120.9 kB / 0.5959 GB, free: 11.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3851, allocations: 0 / 0.5959 GB, free: 11.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005219/0.3857, allocations: 136.8 kB / 0.596 GB, free: 11.34 MB / 446.1 MB 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.001397/0.3871, allocations: 1.004 MB / 0.597 GB, free: 10.55 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007398/0.3878, allocations: 236.2 kB / 0.5972 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3878, allocations: 0 / 0.5972 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003381/0.3882, allocations: 114.5 kB / 0.5973 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.3886, allocations: 48.48 kB / 0.5974 GB, free: 10.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/0.3934, allocations: 2.447 MB / 0.5998 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.3937, allocations: 0.7125 MB / 0.6005 GB, free: 8.047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002012/0.3939, allocations: 34.11 kB / 0.6005 GB, free: 8.035 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.394, allocations: 45.05 kB / 0.6006 GB, free: 8.008 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.394, allocations: 0 / 0.6006 GB, free: 8.008 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.634/4.028, allocations: 5.976 MB / 0.6064 GB, free: 5.297 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000254/4.028, allocations: 201.5 kB / 0.6066 GB, free: 5.047 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/6.463, allocations: 1.312 kB / 0.6066 GB, free: 5.047 MB / 446.1 MB (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/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)