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.001363/0.001363, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00175/0.00175, allocations: 197.6 kB / 16.14 MB, free: 6.66 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.471/1.471, allocations: 205.1 MB / 222 MB, free: 4.723 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.719/1.719, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001321/0.001321, allocations: 64.86 kB / 0.6709 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2054, allocations: 114.6 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003254/0.2086, allocations: 2.096 MB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00235/0.211, allocations: 1.751 MB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.48e-05/0.2111, allocations: 4 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.319e-05/0.2112, allocations: 11.91 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.981e-05/0.2113, allocations: 43.62 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.2121, allocations: 295.2 kB / 0.7869 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000192/0.2123, allocations: 215.2 kB / 0.7871 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.2125, allocations: 41.53 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.505e-05/0.2126, allocations: 75.72 kB / 0.7872 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.2127, allocations: 95.66 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.903e-05/0.2127, allocations: 15.94 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007019/0.2134, allocations: 387.5 kB / 0.7877 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.2135, allocations: 39.88 kB / 0.7877 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.02e-05/0.2136, allocations: 91.59 kB / 0.7878 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005335/0.2141, allocations: 427.2 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2141, allocations: 0 / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.2141, allocations: 0 / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2141, allocations: 0 / 0.7882 GB, free: 8.324 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.0008294/0.215, allocations: 0.5264 MB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.215, allocations: 8.031 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.53e-05/0.2151, allocations: 54.73 kB / 0.7888 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.2162, allocations: 136.6 kB / 0.7889 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.2164, allocations: 184.1 kB / 0.7891 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.2165, allocations: 46.27 kB / 0.7891 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.188e-05/0.2165, allocations: 16.38 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005628/0.2171, allocations: 225.6 kB / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.2171, allocations: 0 / 0.7894 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.2171, allocations: 4 kB / 0.7894 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2171, allocations: 4 kB / 0.7894 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007169/0.2178, allocations: 243.6 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.2192, allocations: 0.9624 MB / 0.7906 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004543/0.2197, allocations: 178.7 kB / 0.7907 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.2201, allocations: 116.8 kB / 0.7908 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006227/0.2207, allocations: 0.5181 MB / 0.7913 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.2207, allocations: 34.55 kB / 0.7914 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/0.2207, allocations: 0 / 0.7914 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001088/0.2218, allocations: 332.3 kB / 0.7917 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.2219, allocations: 59.41 kB / 0.7917 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.222, allocations: 165.2 kB / 0.7919 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.2221, allocations: 29.7 kB / 0.7919 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.2221, allocations: 116.1 kB / 0.792 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.2222, allocations: 59.19 kB / 0.7921 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.655e-05/0.2223, allocations: 45.69 kB / 0.7921 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.2224, allocations: 326.8 kB / 0.7925 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.2227, allocations: 99.94 kB / 0.7926 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003535/0.2231, allocations: 128.5 kB / 0.7927 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.2237, allocations: 193.6 kB / 0.7929 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2237, allocations: 0 / 0.7929 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007994/0.2245, allocations: 280.7 kB / 0.7931 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.2246, allocations: 4 kB / 0.7931 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.2246, allocations: 0 / 0.7931 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2246, allocations: 7.938 kB / 0.7931 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.225, allocations: 51.95 kB / 0.7932 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.225, allocations: 4 kB / 0.7932 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.2253, allocations: 35.67 kB / 0.7932 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.2253, allocations: 11.98 kB / 0.7932 GB, free: 2.754 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.0001116/0.2254, allocations: 125.8 kB / 0.7934 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.2255, allocations: 11.91 kB / 0.7934 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008049/0.2263, allocations: 262.7 kB / 0.7936 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.2263, allocations: 3.938 kB / 0.7936 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2263, allocations: 7.938 kB / 0.7936 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2263, allocations: 0 / 0.7936 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.2281, allocations: 1.077 MB / 0.7947 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2281, allocations: 3.984 kB / 0.7947 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.2284, allocations: 44.02 kB / 0.7947 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2284, allocations: 4 kB / 0.7947 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.2285, allocations: 4 kB / 0.7947 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2285, allocations: 4 kB / 0.7947 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2285, allocations: 3.938 kB / 0.7947 GB, free: 1.031 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.2292, allocations: 352.8 kB / 0.7951 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.243e-05/0.2293, allocations: 85.02 kB / 0.7952 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.734e-05/0.2293, allocations: 8 kB / 0.7952 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003198/0.2297, allocations: 19.97 kB / 0.7952 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.2297, allocations: 23.92 kB / 0.7952 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-05/0.2297, allocations: 4 kB / 0.7952 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.341e-05/0.2298, allocations: 125.5 kB / 0.7953 GB, free: 396 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2298, allocations: 0 / 0.7953 GB, free: 396 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004524/0.2303, allocations: 135.8 kB / 0.7955 GB, free: 260 kB / 0.6075 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.00134/0.2316, allocations: 1.01 MB / 0.7964 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007452/0.2324, allocations: 223.8 kB / 0.7967 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2324, allocations: 0 / 0.7967 GB, free: 15 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003457/0.2327, allocations: 120 kB / 0.7968 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.2332, allocations: 43.91 kB / 0.7968 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.238, allocations: 2.396 MB / 0.7992 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.2383, allocations: 0.7164 MB / 0.7999 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.2385, allocations: 33.7 kB / 0.7999 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2386, allocations: 43.42 kB / 0.7999 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.2387, allocations: 0 / 0.7999 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.2552, allocations: 6.055 MB / 0.8058 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.2554, allocations: 217.8 kB / 0.8061 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.22, allocations: 0 / 0.8061 GB, free: 5.383 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)