Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,fileNamePrefix="Buildings_8_Buildings_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.001522/0.001522, allocations: 109.4 kB / 15.69 MB, free: 128 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.001973/0.001973, allocations: 189.6 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 70.44 kB / 0.6718 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2083, allocations: 114.5 MB / 0.7836 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002943/0.2113, allocations: 2.037 MB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.2134, allocations: 1.672 MB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.06e-05/0.2135, allocations: 4 kB / 0.7873 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.229e-05/0.2136, allocations: 15.8 kB / 0.7873 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2137, allocations: 51.55 kB / 0.7873 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009043/0.2147, allocations: 354.8 kB / 0.7877 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.2149, allocations: 231.1 kB / 0.7879 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001358/0.215, allocations: 53.33 kB / 0.7879 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.493e-05/0.2151, allocations: 83.77 kB / 0.788 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2153, allocations: 95.66 kB / 0.7881 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.816e-05/0.2153, allocations: 20 kB / 0.7881 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000721/0.216, allocations: 415.5 kB / 0.7885 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.2161, allocations: 43.91 kB / 0.7886 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.2162, allocations: 87.59 kB / 0.7886 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005119/0.2167, allocations: 439.2 kB / 0.7891 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.2167, allocations: 4 kB / 0.7891 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2167, allocations: 0 / 0.7891 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.2167, allocations: 0 / 0.7891 GB, free: 7.652 MB / 0.6075 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.000785/0.2175, allocations: 0.5225 MB / 0.7896 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2176, allocations: 8.031 kB / 0.7896 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.613e-05/0.2176, allocations: 54.73 kB / 0.7896 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.2187, allocations: 144.5 kB / 0.7898 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.2188, allocations: 184.1 kB / 0.7899 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.2189, allocations: 46.27 kB / 0.79 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.2189, allocations: 28.36 kB / 0.79 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.2195, allocations: 209.9 kB / 0.7902 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2195, allocations: 3.984 kB / 0.7902 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2195, allocations: 12 kB / 0.7902 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2195, allocations: 4 kB / 0.7902 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.2202, allocations: 239.5 kB / 0.7905 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001316/0.2215, allocations: 0.9509 MB / 0.7914 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004471/0.222, allocations: 182.6 kB / 0.7916 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.2223, allocations: 112.8 kB / 0.7917 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/0.2229, allocations: 0.522 MB / 0.7922 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.223, allocations: 38.55 kB / 0.7922 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.223, allocations: 3.938 kB / 0.7922 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001099/0.2241, allocations: 325.7 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2241, allocations: 55.41 kB / 0.7926 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2243, allocations: 161.4 kB / 0.7927 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.2243, allocations: 29.7 kB / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.2244, allocations: 116.2 kB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.2244, allocations: 55.19 kB / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.2245, allocations: 41.7 kB / 0.793 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.535e-05/0.2246, allocations: 334.7 kB / 0.7933 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.2249, allocations: 99.94 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003354/0.2253, allocations: 124.1 kB / 0.7935 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.2259, allocations: 192.8 kB / 0.7937 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2259, allocations: 4 kB / 0.7937 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007418/0.2267, allocations: 273.4 kB / 0.794 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.2267, allocations: 4 kB / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.2267, allocations: 0 / 0.794 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.2267, allocations: 7.938 kB / 0.794 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.2271, allocations: 51.89 kB / 0.794 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2271, allocations: 7.984 kB / 0.794 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.2274, allocations: 39.67 kB / 0.7941 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.2274, allocations: 7.984 kB / 0.7941 GB, free: 2.09 MB / 0.6075 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.0001044/0.2275, allocations: 121.8 kB / 0.7942 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.2276, allocations: 11.91 kB / 0.7942 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007917/0.2284, allocations: 269.5 kB / 0.7945 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.2284, allocations: 7.875 kB / 0.7945 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2284, allocations: 4 kB / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2284, allocations: 0 / 0.7945 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.2301, allocations: 1.077 MB / 0.7955 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2301, allocations: 0 / 0.7955 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.2304, allocations: 47.95 kB / 0.7956 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.2304, allocations: 4 kB / 0.7956 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.2304, allocations: 4 kB / 0.7956 GB, free: 384 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.2304, allocations: 4 kB / 0.7956 GB, free: 380 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.2304, allocations: 3.938 kB / 0.7956 GB, free: 376 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007822/0.2312, allocations: 356 kB / 0.7959 GB, free: 16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.2313, allocations: 88.95 kB / 0.796 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.417e-05/0.2313, allocations: 4 kB / 0.796 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003113/0.2316, allocations: 23.97 kB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.2317, allocations: 19.92 kB / 0.796 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2317, allocations: 11.98 kB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 9.036e-05/0.2318, allocations: 125.1 kB / 0.7962 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2318, allocations: 0 / 0.7962 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004398/0.2323, allocations: 131.8 kB / 0.7963 GB, free: 15.59 MB / 0.6231 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.001296/0.2336, allocations: 1.007 MB / 0.7973 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007298/0.2343, allocations: 227.8 kB / 0.7975 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2343, allocations: 0 / 0.7975 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.2347, allocations: 112.1 kB / 0.7976 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.2351, allocations: 42.47 kB / 0.7976 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.2397, allocations: 2.363 MB / 0.8 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.24, allocations: 0.7125 MB / 0.8007 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.2401, allocations: 29.55 kB / 0.8007 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.2403, allocations: 47.41 kB / 0.8007 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2403, allocations: 0 / 0.8007 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.2613, allocations: 6.307 MB / 0.8069 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.331/7.592, allocations: 0 / 0.8069 GB, free: 4.75 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)