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.001242/0.001242, allocations: 108 kB / 15.61 MB, free: 152 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.001198/0.001198, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 422.6 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 68.62 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3315/0.3327, allocations: 80.2 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002659/0.3354, allocations: 2.033 MB / 0.5822 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001899/0.3373, allocations: 1.67 MB / 0.5838 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.3374, allocations: 1.406 kB / 0.5838 GB, free: 1.957 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 5.93e-05/0.3374, allocations: 19.62 kB / 0.5838 GB, free: 1.945 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.982e-05/0.3375, allocations: 53.75 kB / 0.5839 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008365/0.3384, allocations: 358.5 kB / 0.5842 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.3386, allocations: 227.4 kB / 0.5844 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.3387, allocations: 57.66 kB / 0.5845 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.3388, allocations: 87.33 kB / 0.5846 GB, free: 1.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.3389, allocations: 94.05 kB / 0.5847 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.339, allocations: 19.66 kB / 0.5847 GB, free: 1.504 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000701/0.3397, allocations: 399 kB / 0.5851 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.3397, allocations: 46.78 kB / 0.5851 GB, free: 1.355 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.3398, allocations: 90.77 kB / 0.5852 GB, free: 1.305 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.3404, allocations: 440.8 kB / 0.5856 GB, free: 1.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3404, allocations: 0 / 0.5856 GB, free: 1.156 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3404, allocations: 0 / 0.5856 GB, free: 1.156 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3404, allocations: 1.219 kB / 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.0007401/0.3411, allocations: 0.5181 MB / 0.5861 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.3412, allocations: 9.406 kB / 0.5861 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.3412, allocations: 56.39 kB / 0.5862 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.3424, allocations: 135.7 kB / 0.5863 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.566e-05/0.3425, allocations: 187.1 kB / 0.5865 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/0.3425, allocations: 46.55 kB / 0.5865 GB, free: 388 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/0.3426, allocations: 25.88 kB / 0.5866 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.3431, allocations: 218.5 kB / 0.5868 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3432, allocations: 0 / 0.5868 GB, free: 276 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.3432, allocations: 5.656 kB / 0.5868 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3432, allocations: 4.5 kB / 0.5868 GB, free: 272 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007547/0.344, allocations: 231.8 kB / 0.587 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3453, allocations: 0.9608 MB / 0.5879 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005093/0.3458, allocations: 182.7 kB / 0.5881 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.3462, allocations: 104.5 kB / 0.5882 GB, free: 15.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006143/0.3468, allocations: 0.5202 MB / 0.5887 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3469, allocations: 36.7 kB / 0.5888 GB, free: 14.62 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.3469, allocations: 1.094 kB / 0.5888 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001219/0.3481, allocations: 332.3 kB / 0.5891 GB, free: 14.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.3481, allocations: 53.55 kB / 0.5891 GB, free: 14.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3483, allocations: 160.8 kB / 0.5893 GB, free: 14.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.3483, allocations: 31.83 kB / 0.5893 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.3484, allocations: 125.9 kB / 0.5894 GB, free: 14.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.3485, allocations: 55.52 kB / 0.5895 GB, free: 14.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.543e-05/0.3486, allocations: 35.62 kB / 0.5895 GB, free: 14.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3487, allocations: 330.9 kB / 0.5898 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.3491, allocations: 104 kB / 0.5899 GB, free: 13.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.3495, allocations: 116.8 kB / 0.59 GB, free: 13.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007152/0.3502, allocations: 204.6 kB / 0.5902 GB, free: 13.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3502, allocations: 0.5938 kB / 0.5902 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008379/0.3511, allocations: 274.4 kB / 0.5905 GB, free: 13.47 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3511, allocations: 10.2 kB / 0.5905 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3511, allocations: 4.562 kB / 0.5905 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3511, allocations: 5.062 kB / 0.5905 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.3515, allocations: 47.25 kB / 0.5906 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3515, allocations: 1.281 kB / 0.5906 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.3518, allocations: 32.62 kB / 0.5906 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.3518, allocations: 9.906 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.0001127/0.3519, allocations: 129.3 kB / 0.5907 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.352, allocations: 19.5 kB / 0.5907 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/0.3529, allocations: 271.8 kB / 0.591 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3529, allocations: 2.344 kB / 0.591 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3529, allocations: 0 / 0.591 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3529, allocations: 2.656 kB / 0.591 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.3548, allocations: 1.077 MB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3548, allocations: 2.109 kB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003105/0.3551, allocations: 37.91 kB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-06/0.3551, allocations: 2.25 kB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.3551, allocations: 7.625 kB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3551, allocations: 1.188 kB / 0.5921 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.3551, allocations: 5.156 kB / 0.5921 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008248/0.356, allocations: 349.4 kB / 0.5925 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.356, allocations: 93 kB / 0.5925 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.3561, allocations: 3.969 kB / 0.5925 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/0.3564, allocations: 31.98 kB / 0.5926 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.3565, allocations: 10.92 kB / 0.5926 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.3565, allocations: 8.156 kB / 0.5926 GB, free: 11.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.223e-05/0.3566, allocations: 120.9 kB / 0.5927 GB, free: 11.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3566, allocations: 0 / 0.5927 GB, free: 11.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005777/0.3572, allocations: 130.3 kB / 0.5928 GB, free: 11.78 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.001545/0.3587, allocations: 0.9969 MB / 0.5938 GB, free: 10.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008348/0.3596, allocations: 241 kB / 0.594 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3596, allocations: 0 / 0.594 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003568/0.36, allocations: 113.2 kB / 0.5941 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.3604, allocations: 55.91 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.004963/0.3654, allocations: 2.366 MB / 0.5965 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002346/0.3656, allocations: 0.7127 MB / 0.5972 GB, free: 8.527 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.3658, allocations: 30.64 kB / 0.5972 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3659, allocations: 43.31 kB / 0.5973 GB, free: 8.492 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3659, allocations: 0 / 0.5973 GB, free: 8.492 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02041/0.3864, allocations: 6.283 MB / 0.6034 GB, free: 5.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.617, allocations: 5.172 kB / 0.6034 GB, free: 5.57 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)