Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007953/0.0007953, allocations: 102.6 kB / 15.06 MB, free: 1.098 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.0008451/0.0008451, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.156/1.156, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001647/0.001647, allocations: 270.8 kB / 291.3 MB, free: 2.016 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7267/0.7267, allocations: 144.6 MB / 487 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003483, allocations: 13.81 kB / 0.5683 GB, free: 38.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1138, allocations: 83.08 MB / 0.6494 GB, free: 3.621 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.001685/0.1155, allocations: 1.612 MB / 0.651 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.1172, allocations: 1.473 MB / 0.6524 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.653e-05/0.1172, allocations: 0.6562 kB / 0.6524 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.1173, allocations: 15.86 kB / 0.6525 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.774e-05/0.1173, allocations: 52.98 kB / 0.6525 GB, free: 476 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.118, allocations: 270.6 kB / 0.6528 GB, free: 208 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1181, allocations: 147.7 kB / 0.6529 GB, free: 60 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.1182, allocations: 42.44 kB / 0.6529 GB, free: 16 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.1183, allocations: 76.48 kB / 0.653 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1184, allocations: 81.19 kB / 0.6531 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.1184, allocations: 12 kB / 0.6531 GB, free: 15.85 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005834/0.119, allocations: 388 kB / 0.6535 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.298e-05/0.1191, allocations: 32.66 kB / 0.6535 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.673e-05/0.1191, allocations: 53.64 kB / 0.6536 GB, free: 15.38 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.1195, allocations: 316.2 kB / 0.6539 GB, free: 15.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.1195, allocations: 1.031 kB / 0.6539 GB, free: 15.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1195, allocations: 0 / 0.6539 GB, free: 15.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.1195, allocations: 0 / 0.6539 GB, free: 15.07 MB / 462.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.0006339/0.1201, allocations: 0.4973 MB / 0.6543 GB, free: 14.53 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.1202, allocations: 12.03 kB / 0.6544 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.1212, allocations: 141.8 kB / 0.6545 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.856e-05/0.1213, allocations: 190.7 kB / 0.6547 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.453e-05/0.1214, allocations: 49.69 kB / 0.6547 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1214, allocations: 16 kB / 0.6547 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.1219, allocations: 216.2 kB / 0.6549 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1219, allocations: 4.656 kB / 0.655 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.122, allocations: 12 kB / 0.655 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.122, allocations: 2.469 kB / 0.655 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.1227, allocations: 238.6 kB / 0.6552 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1238, allocations: 0.9548 MB / 0.6561 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004216/0.1243, allocations: 174.6 kB / 0.6563 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005319/0.1248, allocations: 0.522 MB / 0.6568 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.1248, allocations: 34.56 kB / 0.6568 GB, free: 11.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.1249, allocations: 0 / 0.6568 GB, free: 11.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=16): time 0.001034/0.1259, allocations: 343.2 kB / 0.6572 GB, free: 11.36 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.1259, allocations: 51.41 kB / 0.6572 GB, free: 11.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.126, allocations: 166.7 kB / 0.6574 GB, free: 11.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.1261, allocations: 29.64 kB / 0.6574 GB, free: 11.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.963e-05/0.1261, allocations: 124.2 kB / 0.6575 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1262, allocations: 55.12 kB / 0.6576 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.1262, allocations: 8 kB / 0.6576 GB, free: 10.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.008e-05/0.1263, allocations: 322.8 kB / 0.6579 GB, free: 10.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.1266, allocations: 104.3 kB / 0.658 GB, free: 10.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003223/0.1269, allocations: 124.5 kB / 0.6581 GB, free: 10.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.1273, allocations: 94.41 kB / 0.6582 GB, free: 10.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1273, allocations: 0 / 0.6582 GB, free: 10.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007102/0.128, allocations: 278.9 kB / 0.6585 GB, free: 9.977 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.128, allocations: 5.406 kB / 0.6585 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.128, allocations: 0 / 0.6585 GB, free: 9.973 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.128, allocations: 4 kB / 0.6585 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.1284, allocations: 51.89 kB / 0.6585 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1284, allocations: 0 / 0.6585 GB, free: 9.918 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.1287, allocations: 39.73 kB / 0.6586 GB, free: 9.879 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1287, allocations: 11.94 kB / 0.6586 GB, free: 9.867 MB / 462.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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.611e-05/0.1288, allocations: 129.8 kB / 0.6587 GB, free: 9.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.1288, allocations: 11.91 kB / 0.6587 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/0.1296, allocations: 270.6 kB / 0.659 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1296, allocations: 4 kB / 0.659 GB, free: 9.445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1296, allocations: 3.984 kB / 0.659 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1296, allocations: 0 / 0.659 GB, free: 9.441 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001542/0.1312, allocations: 1.074 MB / 0.66 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1312, allocations: 0 / 0.66 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.1315, allocations: 47.95 kB / 0.6601 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1315, allocations: 4 kB / 0.6601 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.1315, allocations: 4 kB / 0.6601 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1315, allocations: 7.953 kB / 0.6601 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1315, allocations: 0 / 0.6601 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000712/0.1322, allocations: 377.7 kB / 0.6604 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/0.1323, allocations: 100.9 kB / 0.6605 GB, free: 7.633 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.1323, allocations: 7.984 kB / 0.6605 GB, free: 7.625 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003007/0.1326, allocations: 27.92 kB / 0.6606 GB, free: 7.598 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1327, allocations: 15.97 kB / 0.6606 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.1327, allocations: 8 kB / 0.6606 GB, free: 7.574 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.017e-05/0.1328, allocations: 121.5 kB / 0.6607 GB, free: 7.457 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1328, allocations: 0 / 0.6607 GB, free: 7.457 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003725/0.1332, allocations: 127.9 kB / 0.6608 GB, free: 7.332 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003439/0.1335, allocations: 227 kB / 0.661 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006967/0.1342, allocations: 236.6 kB / 0.6613 GB, free: 6.871 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1342, allocations: 3.938 kB / 0.6613 GB, free: 6.867 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/0.1345, allocations: 111.9 kB / 0.6614 GB, free: 6.758 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.1348, allocations: 48.94 kB / 0.6614 GB, free: 6.711 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.1367, allocations: 0.5403 MB / 0.662 GB, free: 6.137 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.137, allocations: 0.7128 MB / 0.6627 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.1371, allocations: 28.92 kB / 0.6627 GB, free: 5.371 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.676e-05/0.1372, allocations: 23.44 kB / 0.6627 GB, free: 5.348 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1372, allocations: 0 / 0.6627 GB, free: 5.348 MB / 462.1 MB Notification: Performance of Templates: time 0.00657/0.1438, allocations: 4.296 MB / 0.6669 GB, free: 1.102 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1) Environment - environmentSimulation: