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.001204/0.001204, allocations: 109.4 kB / 15.69 MB, free: 124 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.001127/0.001127, allocations: 187.3 kB / 16.62 MB, free: 6.578 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.363/1.363, 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.615/1.615, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.001645/0.001645, allocations: 67.09 kB / 0.6718 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2171, allocations: 114.5 MB / 0.7836 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003121/0.2203, allocations: 2.041 MB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2224, allocations: 1.664 MB / 0.7872 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.11e-05/0.2225, allocations: 4 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.169e-05/0.2226, allocations: 23.78 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.2227, allocations: 47.56 kB / 0.7873 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008592/0.2236, allocations: 354.8 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.2238, allocations: 235.1 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.2239, allocations: 53.31 kB / 0.7879 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.224, allocations: 79.77 kB / 0.788 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.2241, allocations: 95.67 kB / 0.7881 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.792e-05/0.2242, allocations: 20 kB / 0.7881 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006478/0.2248, allocations: 419.5 kB / 0.7885 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.451e-05/0.2249, allocations: 39.91 kB / 0.7886 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.142e-05/0.2249, allocations: 95.58 kB / 0.7886 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004665/0.2254, allocations: 443.1 kB / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2254, allocations: 0 / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2254, allocations: 0 / 0.7891 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.2255, allocations: 0 / 0.7891 GB, free: 7.609 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.0007521/0.2262, allocations: 0.5264 MB / 0.7896 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2263, allocations: 8.031 kB / 0.7896 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.2263, allocations: 58.67 kB / 0.7896 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009957/0.2273, allocations: 136.6 kB / 0.7898 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.2274, allocations: 176.2 kB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.529e-05/0.2275, allocations: 50.25 kB / 0.79 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.2275, allocations: 16.38 kB / 0.79 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/0.2281, allocations: 217.8 kB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.2281, allocations: 3.938 kB / 0.7902 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.425e-05/0.2281, allocations: 8 kB / 0.7902 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2281, allocations: 4 kB / 0.7902 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006685/0.2288, allocations: 235.6 kB / 0.7905 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00128/0.2301, allocations: 0.9587 MB / 0.7914 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004296/0.2305, allocations: 178.6 kB / 0.7916 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003127/0.2308, allocations: 116.8 kB / 0.7917 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005488/0.2314, allocations: 0.5142 MB / 0.7922 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.2314, allocations: 38.56 kB / 0.7922 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.2315, allocations: 3.938 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.001059/0.2325, allocations: 325.6 kB / 0.7925 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.2326, allocations: 59.39 kB / 0.7926 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2327, allocations: 157.5 kB / 0.7927 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2327, allocations: 37.7 kB / 0.7928 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.2328, allocations: 116.1 kB / 0.7929 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.2329, allocations: 59.19 kB / 0.7929 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.704e-05/0.2329, allocations: 37.7 kB / 0.793 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.233, allocations: 330.8 kB / 0.7933 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.2334, allocations: 99.94 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.2337, allocations: 129.6 kB / 0.7935 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.2343, allocations: 192.8 kB / 0.7937 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.2343, allocations: 0 / 0.7937 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007365/0.2351, allocations: 273.4 kB / 0.7939 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2351, allocations: 4 kB / 0.794 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.2351, allocations: 0 / 0.794 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2351, allocations: 11.97 kB / 0.794 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003362/0.2355, allocations: 55.89 kB / 0.794 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.2355, allocations: 3.984 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.2358, allocations: 35.66 kB / 0.7941 GB, free: 2.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.101e-05/0.2358, allocations: 16 kB / 0.7941 GB, free: 2.047 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.0001066/0.2359, allocations: 121.8 kB / 0.7942 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.477e-05/0.236, allocations: 11.91 kB / 0.7942 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007659/0.2367, allocations: 269.3 kB / 0.7945 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2367, allocations: 3.938 kB / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2368, allocations: 0 / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2368, allocations: 3.984 kB / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.2384, allocations: 1.076 MB / 0.7955 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.2384, allocations: 4 kB / 0.7955 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.2387, allocations: 43.91 kB / 0.7956 GB, free: 356 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.2388, allocations: 4 kB / 0.7956 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.2388, allocations: 0 / 0.7956 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.2388, allocations: 3.984 kB / 0.7956 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.2388, allocations: 12 kB / 0.7956 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007347/0.2395, allocations: 348.8 kB / 0.7959 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.2396, allocations: 85.02 kB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.2397, allocations: 8 kB / 0.796 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.24, allocations: 27.97 kB / 0.796 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.24, allocations: 11.98 kB / 0.796 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.24, allocations: 7.984 kB / 0.796 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.2401, allocations: 121.5 kB / 0.7962 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2401, allocations: 0 / 0.7962 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004467/0.2406, allocations: 139.8 kB / 0.7963 GB, free: 15.55 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.00127/0.2418, allocations: 0.9988 MB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007337/0.2426, allocations: 230.9 kB / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2426, allocations: 4.062 kB / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000329/0.2429, allocations: 111.9 kB / 0.7976 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.2434, allocations: 52.88 kB / 0.7977 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.248, allocations: 2.353 MB / 0.8 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002417/0.2483, allocations: 0.7125 MB / 0.8006 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.2485, allocations: 36.95 kB / 0.8007 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.2486, allocations: 43.42 kB / 0.8007 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.2486, allocations: 0 / 0.8007 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.2698, allocations: 6.306 MB / 0.8069 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/7.23, allocations: 5.25 kB / 0.8069 GB, free: 4.711 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)