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.001044/0.001044, allocations: 108 kB / 15.6 MB, free: 132 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.001044/0.001044, allocations: 200.2 kB / 16.54 MB, free: 6.672 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.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.755/0.755, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 64.95 kB / 0.5019 GB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3783, allocations: 80.2 MB / 0.5802 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003279/0.3816, allocations: 2.016 MB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.3838, allocations: 1.666 MB / 0.5838 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.3839, allocations: 2.188 kB / 0.5838 GB, free: 1.965 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.324e-05/0.384, allocations: 23.27 kB / 0.5838 GB, free: 1.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.3841, allocations: 52.23 kB / 0.5839 GB, free: 1.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009962/0.3851, allocations: 360.5 kB / 0.5842 GB, free: 1.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.3854, allocations: 226.8 kB / 0.5844 GB, free: 1.621 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3856, allocations: 61.12 kB / 0.5845 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.3857, allocations: 79.45 kB / 0.5846 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.3859, allocations: 95.05 kB / 0.5847 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.472e-05/0.386, allocations: 18.53 kB / 0.5847 GB, free: 1.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009393/0.3869, allocations: 398.6 kB / 0.585 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.387, allocations: 42.98 kB / 0.5851 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.3871, allocations: 91.89 kB / 0.5852 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007077/0.3878, allocations: 451.8 kB / 0.5856 GB, free: 1.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3878, allocations: 1.219 kB / 0.5856 GB, free: 1.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3878, allocations: 0 / 0.5856 GB, free: 1.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.3878, allocations: 0 / 0.5856 GB, free: 1.156 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.0008217/0.3887, allocations: 0.5176 MB / 0.5861 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.3887, allocations: 9.969 kB / 0.5861 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.413e-05/0.3888, allocations: 51.7 kB / 0.5862 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.3899, allocations: 137.3 kB / 0.5863 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.983e-05/0.39, allocations: 191.3 kB / 0.5865 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.543e-05/0.3901, allocations: 49.17 kB / 0.5865 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.3902, allocations: 19 kB / 0.5866 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.3908, allocations: 213 kB / 0.5868 GB, free: 284 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3908, allocations: 4 kB / 0.5868 GB, free: 280 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.3908, allocations: 6.516 kB / 0.5868 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-06/0.3909, allocations: 3.719 kB / 0.5868 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007729/0.3916, allocations: 236.3 kB / 0.587 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.3931, allocations: 0.9649 MB / 0.5879 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.3937, allocations: 186.8 kB / 0.5881 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.394, allocations: 108.5 kB / 0.5882 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/0.3948, allocations: 0.5198 MB / 0.5887 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.3948, allocations: 33.16 kB / 0.5888 GB, free: 14.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.412e-06/0.3948, allocations: 0 / 0.5888 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001204/0.396, allocations: 333.3 kB / 0.5891 GB, free: 14.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/0.3961, allocations: 52.88 kB / 0.5891 GB, free: 14.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3962, allocations: 159.9 kB / 0.5893 GB, free: 14.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3963, allocations: 31.52 kB / 0.5893 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.3964, allocations: 122.7 kB / 0.5894 GB, free: 14.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/0.3964, allocations: 55.33 kB / 0.5895 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.919e-05/0.3965, allocations: 40.08 kB / 0.5895 GB, free: 14.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.3966, allocations: 330.7 kB / 0.5898 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003716/0.397, allocations: 103.5 kB / 0.5899 GB, free: 13.72 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.3974, allocations: 121.9 kB / 0.59 GB, free: 13.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006624/0.3981, allocations: 196.1 kB / 0.5902 GB, free: 13.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3981, allocations: 1.5 kB / 0.5902 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008367/0.3989, allocations: 269.7 kB / 0.5905 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.399, allocations: 9.062 kB / 0.5905 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.399, allocations: 1.625 kB / 0.5905 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.399, allocations: 1.094 kB / 0.5905 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.3994, allocations: 59.03 kB / 0.5906 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3994, allocations: 5.047 kB / 0.5906 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.3997, allocations: 29.02 kB / 0.5906 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.321e-05/0.3997, allocations: 9.594 kB / 0.5906 GB, free: 13.45 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.0001112/0.3998, allocations: 125.8 kB / 0.5907 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.272e-05/0.3999, allocations: 14.91 kB / 0.5907 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000863/0.4008, allocations: 273.2 kB / 0.591 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4008, allocations: 5.125 kB / 0.591 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4008, allocations: 0.8438 kB / 0.591 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4008, allocations: 5.672 kB / 0.591 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.4026, allocations: 1.081 MB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4027, allocations: 1.812 kB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.403, allocations: 42.88 kB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.403, allocations: 1.031 kB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.403, allocations: 7.875 kB / 0.5921 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.403, allocations: 0.8125 kB / 0.5921 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.403, allocations: 1.719 kB / 0.5921 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.4038, allocations: 345.2 kB / 0.5924 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.289e-05/0.4039, allocations: 97.62 kB / 0.5925 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.404, allocations: 6.734 kB / 0.5925 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003334/0.4043, allocations: 24.95 kB / 0.5926 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4043, allocations: 23.14 kB / 0.5926 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.4044, allocations: 6.25 kB / 0.5926 GB, free: 11.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.126e-05/0.4045, allocations: 119.2 kB / 0.5927 GB, free: 11.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4045, allocations: 0 / 0.5927 GB, free: 11.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005282/0.405, allocations: 135 kB / 0.5928 GB, free: 11.77 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.00149/0.4065, allocations: 0.9983 MB / 0.5938 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.4074, allocations: 236.8 kB / 0.594 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4074, allocations: 1.281 kB / 0.594 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.4078, allocations: 112.7 kB / 0.5941 GB, free: 10.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.4082, allocations: 46.86 kB / 0.5942 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005217/0.4135, allocations: 2.362 MB / 0.5965 GB, free: 9.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4138, allocations: 0.7133 MB / 0.5972 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.414, allocations: 34.23 kB / 0.5972 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.4141, allocations: 42.88 kB / 0.5973 GB, free: 8.492 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.4141, allocations: 0 / 0.5973 GB, free: 8.492 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5823/0.9964, allocations: 6.279 MB / 0.6034 GB, free: 5.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/9.086, allocations: 7.344 kB / 0.6034 GB, free: 5.566 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)