Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007976/0.0007976, allocations: 99.31 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.0008066/0.0008066, 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.149/1.149, allocations: 223.2 MB / 239.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001611/0.001611, allocations: 267.1 kB / 291.2 MB, free: 1.867 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.7071/0.7071, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003898/0.0003899, allocations: 12.56 kB / 0.5683 GB, free: 38.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 83.09 MB / 0.6494 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00161/0.1147, allocations: 1.601 MB / 0.651 GB, free: 2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.1164, allocations: 1.464 MB / 0.6524 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.82e-05/0.1164, allocations: 6.438 kB / 0.6524 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.1165, allocations: 11.91 kB / 0.6524 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.397e-05/0.1166, allocations: 55.81 kB / 0.6525 GB, free: 484 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.1172, allocations: 269.2 kB / 0.6528 GB, free: 216 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.1173, allocations: 139.7 kB / 0.6529 GB, free: 76 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.1174, allocations: 47.72 kB / 0.6529 GB, free: 24 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.086e-05/0.1175, allocations: 63.92 kB / 0.653 GB, free: 15.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1176, allocations: 80.47 kB / 0.6531 GB, free: 15.88 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1176, allocations: 11.94 kB / 0.6531 GB, free: 15.87 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.1182, allocations: 389 kB / 0.6535 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.1183, allocations: 32.41 kB / 0.6535 GB, free: 15.46 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.1183, allocations: 58.11 kB / 0.6535 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003674/0.1187, allocations: 308.1 kB / 0.6538 GB, free: 15.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.1187, allocations: 4 kB / 0.6538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1187, allocations: 0.6875 kB / 0.6538 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.156e-06/0.1187, allocations: 0 / 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.0006149/0.1193, allocations: 0.4895 MB / 0.6543 GB, free: 14.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.53e-05/0.1194, allocations: 8.75 kB / 0.6543 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005122/0.1199, allocations: 96.55 kB / 0.6544 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.12, allocations: 182.8 kB / 0.6546 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.326e-05/0.1201, allocations: 50.91 kB / 0.6546 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.1201, allocations: 16 kB / 0.6547 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.1205, allocations: 184.6 kB / 0.6548 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.1205, allocations: 0 / 0.6548 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.1205, allocations: 8 kB / 0.6548 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1205, allocations: 4 kB / 0.6548 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.1209, allocations: 190.6 kB / 0.655 GB, free: 13.79 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.1221, allocations: 0.9158 MB / 0.6559 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.1226, allocations: 181.1 kB / 0.6561 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005356/0.1231, allocations: 0.5198 MB / 0.6566 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.1231, allocations: 42.5 kB / 0.6566 GB, free: 11.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.1231, allocations: 0 / 0.6566 GB, free: 11.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006296/0.1238, allocations: 245.8 kB / 0.6569 GB, free: 11.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/0.1238, allocations: 55.41 kB / 0.6569 GB, free: 11.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1239, allocations: 154.4 kB / 0.6571 GB, free: 11.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.124, allocations: 37.64 kB / 0.6571 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.124, allocations: 119.7 kB / 0.6572 GB, free: 11.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.1241, allocations: 47.3 kB / 0.6573 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.1241, allocations: 4 kB / 0.6573 GB, free: 11.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.1242, allocations: 322.8 kB / 0.6576 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.1244, allocations: 83.95 kB / 0.6577 GB, free: 10.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.1246, allocations: 97.61 kB / 0.6578 GB, free: 10.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1248, allocations: 69 kB / 0.6578 GB, free: 10.63 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.1248, allocations: 4 kB / 0.6578 GB, free: 10.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004355/0.1252, allocations: 215 kB / 0.658 GB, free: 10.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.1253, allocations: 11.94 kB / 0.658 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.1253, allocations: 0 / 0.658 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.1253, allocations: 7.938 kB / 0.658 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.1255, allocations: 47.94 kB / 0.6581 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1255, allocations: 0 / 0.6581 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1257, allocations: 27.83 kB / 0.6581 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1257, allocations: 4 kB / 0.6581 GB, free: 10.31 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.464e-05/0.1258, allocations: 125.8 kB / 0.6582 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.1259, allocations: 15.81 kB / 0.6583 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004585/0.1263, allocations: 201.8 kB / 0.6585 GB, free: 9.965 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1263, allocations: 7.938 kB / 0.6585 GB, free: 9.957 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1264, allocations: 4 kB / 0.6585 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1264, allocations: 0 / 0.6585 GB, free: 9.953 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.1276, allocations: 0.9856 MB / 0.6594 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1276, allocations: 0 / 0.6594 GB, free: 8.812 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.1278, allocations: 43.86 kB / 0.6595 GB, free: 8.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1278, allocations: 4 kB / 0.6595 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.1278, allocations: 0 / 0.6595 GB, free: 8.766 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1278, allocations: 4 kB / 0.6595 GB, free: 8.762 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1278, allocations: 8.062 kB / 0.6595 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000434/0.1282, allocations: 320.4 kB / 0.6598 GB, free: 8.406 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.1283, allocations: 96.91 kB / 0.6599 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1283, allocations: 0 / 0.6599 GB, free: 8.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1285, allocations: 27.97 kB / 0.6599 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.1286, allocations: 7.984 kB / 0.6599 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1286, allocations: 8 kB / 0.6599 GB, free: 8.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.983e-05/0.1287, allocations: 121.7 kB / 0.66 GB, free: 8.133 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1287, allocations: 0 / 0.66 GB, free: 8.133 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003578/0.129, allocations: 127.9 kB / 0.6602 GB, free: 8.008 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.0003553/0.1294, allocations: 231 kB / 0.6604 GB, free: 7.773 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.1298, allocations: 179.8 kB / 0.6606 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1298, allocations: 0 / 0.6606 GB, free: 7.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.13, allocations: 95.89 kB / 0.6606 GB, free: 7.504 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1303, allocations: 37.8 kB / 0.6607 GB, free: 7.469 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.1308, allocations: 377.7 kB / 0.661 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.131, allocations: 0.7166 MB / 0.6617 GB, free: 6.32 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001288/0.1312, allocations: 24.55 kB / 0.6618 GB, free: 6.301 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.758e-05/0.1312, allocations: 19.44 kB / 0.6618 GB, free: 6.281 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1312, allocations: 0 / 0.6618 GB, free: 6.281 MB / 462.1 MB Notification: Performance of Templates: time 0.006119/0.1373, allocations: 4.052 MB / 0.6657 GB, free: 2.281 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: