Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008584/0.0008585, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0008981/0.0008981, allocations: 177.3 kB / 15.94 MB, free: 228 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.158/1.158, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001664/0.001664, allocations: 267.1 kB / 291.2 MB, free: 1.863 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.7259/0.7259, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 19.84 kB / 0.5683 GB, free: 38.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1124, allocations: 83.08 MB / 0.6494 GB, free: 3.605 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.001669/0.1141, allocations: 1.6 MB / 0.651 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001732/0.1159, allocations: 1.468 MB / 0.6524 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.936e-05/0.1159, allocations: 4 kB / 0.6524 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.086e-05/0.116, allocations: 13.02 kB / 0.6524 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.068e-05/0.1161, allocations: 52.59 kB / 0.6525 GB, free: 480 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.1167, allocations: 273 kB / 0.6528 GB, free: 208 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1168, allocations: 137.2 kB / 0.6529 GB, free: 72 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.117, allocations: 43.03 kB / 0.6529 GB, free: 24 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.022e-05/0.117, allocations: 67.84 kB / 0.653 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.1172, allocations: 80.39 kB / 0.6531 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1172, allocations: 12 kB / 0.6531 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000599/0.1178, allocations: 392.9 kB / 0.6535 GB, free: 15.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.092e-05/0.1178, allocations: 32.59 kB / 0.6535 GB, free: 15.45 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.1179, allocations: 53.64 kB / 0.6535 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.1182, allocations: 308.5 kB / 0.6538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1182, allocations: 0 / 0.6538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1182, allocations: 0.75 kB / 0.6538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1183, allocations: 4 kB / 0.6538 GB, free: 15.09 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005895/0.1189, allocations: 0.4896 MB / 0.6543 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.681e-05/0.1189, allocations: 8.031 kB / 0.6543 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005074/0.1194, allocations: 93.06 kB / 0.6544 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1195, allocations: 182.8 kB / 0.6546 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.1196, allocations: 53.22 kB / 0.6546 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.661e-05/0.1196, allocations: 16 kB / 0.6546 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003476/0.12, allocations: 178.6 kB / 0.6548 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.12, allocations: 3.984 kB / 0.6548 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/0.12, allocations: 8 kB / 0.6548 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.12, allocations: 4 kB / 0.6548 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004121/0.1205, allocations: 194.5 kB / 0.655 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1216, allocations: 0.9207 MB / 0.6559 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.1221, allocations: 182.5 kB / 0.6561 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005384/0.1226, allocations: 0.5181 MB / 0.6566 GB, free: 11.93 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.1226, allocations: 34.56 kB / 0.6566 GB, free: 11.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.1227, allocations: 0 / 0.6566 GB, free: 11.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006175/0.1233, allocations: 241.8 kB / 0.6569 GB, free: 11.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.1233, allocations: 59.39 kB / 0.6569 GB, free: 11.57 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1234, allocations: 160.5 kB / 0.6571 GB, free: 11.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.1235, allocations: 37.69 kB / 0.6571 GB, free: 11.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.1235, allocations: 119.6 kB / 0.6572 GB, free: 11.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.1236, allocations: 55.28 kB / 0.6573 GB, free: 11.19 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.281e-05/0.1236, allocations: 0 / 0.6573 GB, free: 11.19 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.655e-05/0.1237, allocations: 330.8 kB / 0.6576 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.1239, allocations: 75.95 kB / 0.6577 GB, free: 10.78 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.1241, allocations: 97.67 kB / 0.6578 GB, free: 10.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/0.1243, allocations: 68.84 kB / 0.6578 GB, free: 10.61 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1243, allocations: 0 / 0.6578 GB, free: 10.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004508/0.1248, allocations: 223.8 kB / 0.658 GB, free: 10.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.1248, allocations: 4 kB / 0.658 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1248, allocations: 4 kB / 0.658 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.1248, allocations: 3.953 kB / 0.658 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.125, allocations: 44 kB / 0.6581 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.125, allocations: 4 kB / 0.6581 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.1252, allocations: 19.83 kB / 0.6581 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1252, allocations: 16 kB / 0.6581 GB, free: 10.3 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 (20): * Single equations (assignments): 20 * 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.161e-05/0.1253, allocations: 121.8 kB / 0.6582 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1254, allocations: 15.81 kB / 0.6583 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.1259, allocations: 205.8 kB / 0.6585 GB, free: 9.949 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1259, allocations: 3.953 kB / 0.6585 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1259, allocations: 0 / 0.6585 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1259, allocations: 0 / 0.6585 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/0.1271, allocations: 0.9973 MB / 0.6594 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1271, allocations: 0 / 0.6594 GB, free: 8.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.1273, allocations: 31.94 kB / 0.6595 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.1273, allocations: 3.984 kB / 0.6595 GB, free: 8.758 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1273, allocations: 8 kB / 0.6595 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1273, allocations: 0 / 0.6595 GB, free: 8.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.1274, allocations: 4 kB / 0.6595 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004541/0.1278, allocations: 320.5 kB / 0.6598 GB, free: 8.398 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.806e-05/0.1279, allocations: 104.9 kB / 0.6599 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.1279, allocations: 0 / 0.6599 GB, free: 8.277 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.1281, allocations: 19.98 kB / 0.6599 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.1282, allocations: 19.91 kB / 0.6599 GB, free: 8.238 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1282, allocations: 4 kB / 0.6599 GB, free: 8.234 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.1283, allocations: 117.7 kB / 0.66 GB, free: 8.121 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1283, allocations: 4 kB / 0.66 GB, free: 8.117 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003638/0.1286, allocations: 127.9 kB / 0.6602 GB, free: 7.992 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 (14): * Single equations (assignments): 14 * 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.0003491/0.129, allocations: 238.9 kB / 0.6604 GB, free: 7.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.1294, allocations: 179.8 kB / 0.6606 GB, free: 7.574 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1294, allocations: 0 / 0.6606 GB, free: 7.574 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1296, allocations: 92.08 kB / 0.6606 GB, free: 7.484 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.1299, allocations: 35.97 kB / 0.6607 GB, free: 7.449 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006123/0.1305, allocations: 393.4 kB / 0.6611 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.1307, allocations: 0.7128 MB / 0.6618 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.1309, allocations: 28.3 kB / 0.6618 GB, free: 6.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.1309, allocations: 23.42 kB / 0.6618 GB, free: 6.246 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.131, allocations: 4 kB / 0.6618 GB, free: 6.242 MB / 462.1 MB Notification: Performance of Templates: time 0.006348/0.1373, allocations: 4.061 MB / 0.6658 GB, free: 2.254 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1) Environment - environmentSimulation: