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.001005/0.001005, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008556/0.008556, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.346/1.346, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.722/1.722, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.000556/0.000556, allocations: 17.02 kB / 0.6744 GB, free: 25.63 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1932, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.002061/0.1952, allocations: 1.753 MB / 0.7897 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002343/0.1976, allocations: 1.708 MB / 0.7914 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.1977, allocations: 4 kB / 0.7914 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.1978, allocations: 15.91 kB / 0.7914 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.1979, allocations: 47.61 kB / 0.7914 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008605/0.1987, allocations: 291.2 kB / 0.7917 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002322/0.199, allocations: 215.2 kB / 0.7919 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1991, allocations: 49.52 kB / 0.792 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.1992, allocations: 75.72 kB / 0.792 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1994, allocations: 83.67 kB / 0.7921 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.1994, allocations: 8 kB / 0.7921 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007549/0.2002, allocations: 395.5 kB / 0.7925 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.729e-05/0.2002, allocations: 27.91 kB / 0.7925 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.453e-05/0.2003, allocations: 117.2 kB / 0.7926 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005839/0.2009, allocations: 431.2 kB / 0.7931 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2009, allocations: 0 / 0.7931 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2009, allocations: 0 / 0.7931 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2009, allocations: 0 / 0.7931 GB, free: 6.273 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.0007579/0.2017, allocations: 0.4952 MB / 0.7935 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.2017, allocations: 8.031 kB / 0.7935 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.38e-05/0.2018, allocations: 58.67 kB / 0.7936 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.2029, allocations: 144.6 kB / 0.7937 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.203, allocations: 176.2 kB / 0.7939 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.537e-05/0.2031, allocations: 46.27 kB / 0.7939 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.2032, allocations: 20.36 kB / 0.794 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.2037, allocations: 221.6 kB / 0.7942 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2037, allocations: 0 / 0.7942 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.2038, allocations: 8 kB / 0.7942 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2038, allocations: 4 kB / 0.7942 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.2045, allocations: 247.6 kB / 0.7944 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001349/0.2058, allocations: 0.9624 MB / 0.7954 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.2063, allocations: 190.6 kB / 0.7955 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.2067, allocations: 116.8 kB / 0.7957 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/0.2073, allocations: 0.5142 MB / 0.7962 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.2073, allocations: 46.48 kB / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.2073, allocations: 0 / 0.7962 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001124/0.2085, allocations: 336.7 kB / 0.7965 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.2085, allocations: 55.41 kB / 0.7966 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.2086, allocations: 154.5 kB / 0.7967 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.748e-05/0.2087, allocations: 29.7 kB / 0.7968 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.275e-05/0.2088, allocations: 112.2 kB / 0.7969 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.2088, allocations: 63.12 kB / 0.7969 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.2089, allocations: 25.72 kB / 0.7969 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.209, allocations: 322.8 kB / 0.7973 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/0.2093, allocations: 107.9 kB / 0.7974 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.2097, allocations: 132 kB / 0.7975 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.2103, allocations: 201 kB / 0.7977 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2103, allocations: 0 / 0.7977 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007665/0.2111, allocations: 273.3 kB / 0.7979 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2111, allocations: 8 kB / 0.7979 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2111, allocations: 0 / 0.7979 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2112, allocations: 3.938 kB / 0.7979 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003504/0.2115, allocations: 59.92 kB / 0.798 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2115, allocations: 0 / 0.798 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.2118, allocations: 39.75 kB / 0.798 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.008e-05/0.2118, allocations: 4 kB / 0.798 GB, free: 0.7227 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.0001151/0.212, allocations: 134.4 kB / 0.7982 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.212, allocations: 11.81 kB / 0.7982 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008029/0.2128, allocations: 274.1 kB / 0.7984 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2128, allocations: 7.938 kB / 0.7985 GB, free: 292 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2129, allocations: 4 kB / 0.7985 GB, free: 288 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2129, allocations: 3.984 kB / 0.7985 GB, free: 284 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.2146, allocations: 1.081 MB / 0.7995 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.2146, allocations: 3.938 kB / 0.7995 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003134/0.215, allocations: 35.97 kB / 0.7996 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.215, allocations: 4 kB / 0.7996 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.215, allocations: 4 kB / 0.7996 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.745e-06/0.215, allocations: 11.92 kB / 0.7996 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.215, allocations: 4.062 kB / 0.7996 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008127/0.2158, allocations: 345 kB / 0.7999 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.2159, allocations: 100.8 kB / 0.8 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.216, allocations: 0 / 0.8 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.2163, allocations: 31.97 kB / 0.8 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.2163, allocations: 7.984 kB / 0.8 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2164, allocations: 7.938 kB / 0.8 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.946e-05/0.2165, allocations: 129.5 kB / 0.8002 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.274e-06/0.2165, allocations: 0 / 0.8002 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004886/0.217, allocations: 139.8 kB / 0.8003 GB, free: 14.19 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.001496/0.2185, allocations: 1.005 MB / 0.8013 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007932/0.2193, allocations: 235.8 kB / 0.8015 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2193, allocations: 0 / 0.8015 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003797/0.2197, allocations: 119.9 kB / 0.8016 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.2201, allocations: 44.09 kB / 0.8017 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.2252, allocations: 2.435 MB / 0.804 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.2255, allocations: 0.7086 MB / 0.8047 GB, free: 9.504 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.2257, allocations: 41.53 kB / 0.8048 GB, free: 9.461 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2259, allocations: 43.41 kB / 0.8048 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of SimCode: time 4.71e-07/0.2259, allocations: 3.938 kB / 0.8048 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.541/0.7669, allocations: 5.971 MB / 0.8107 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002814/0.7672, allocations: 221.8 kB / 0.8109 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/2.892, allocations: 2.875 kB / 0.8109 GB, free: 3.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ScrollCompressor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)