Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.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.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") translateModel(BuildingSystems.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008652/0.0008653, allocations: 100.3 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.0008811/0.0008811, 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.192/1.192, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001631/0.001631, allocations: 265.6 kB / 291.2 MB, free: 2.023 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.7782/0.7782, allocations: 144.6 MB / 487 MB, free: 7.191 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 20.78 kB / 0.5683 GB, free: 38.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1346, allocations: 83.07 MB / 0.6494 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Splice): time 0.001419/0.136, allocations: 1.198 MB / 0.6506 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007881/0.1368, allocations: 0.5911 MB / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.053e-05/0.1369, allocations: 0 / 0.6512 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.421e-05/0.1369, allocations: 6.297 kB / 0.6512 GB, free: 1.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.1369, allocations: 11.98 kB / 0.6512 GB, free: 1.809 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002318/0.1372, allocations: 47.83 kB / 0.6512 GB, free: 1.762 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.1372, allocations: 27.91 kB / 0.6513 GB, free: 1.734 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.237e-05/0.1373, allocations: 13.66 kB / 0.6513 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.198e-05/0.1374, allocations: 15.94 kB / 0.6513 GB, free: 1.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.1374, allocations: 12.73 kB / 0.6513 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.1374, allocations: 0 / 0.6513 GB, free: 1.695 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1376, allocations: 92.48 kB / 0.6514 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.864e-06/0.1376, allocations: 0 / 0.6514 GB, free: 1.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.417e-05/0.1376, allocations: 38.17 kB / 0.6514 GB, free: 1.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.442e-05/0.1377, allocations: 58.19 kB / 0.6515 GB, free: 1.508 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1377, allocations: 0 / 0.6515 GB, free: 1.508 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1377, allocations: 0 / 0.6515 GB, free: 1.508 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1378, allocations: 0 / 0.6515 GB, free: 1.508 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000367/0.1381, allocations: 355.5 kB / 0.6518 GB, free: 1.113 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.1382, allocations: 8.531 kB / 0.6518 GB, free: 1.105 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.1382, allocations: 8.594 kB / 0.6518 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.1383, allocations: 167 kB / 0.652 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.1383, allocations: 8.484 kB / 0.652 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.1384, allocations: 13.55 kB / 0.652 GB, free: 0.875 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1385, allocations: 49.67 kB / 0.6521 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1385, allocations: 0 / 0.6521 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1385, allocations: 4.75 kB / 0.6521 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.1386, allocations: 7.938 kB / 0.6521 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.394e-05/0.1386, allocations: 29.36 kB / 0.6521 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000362/0.139, allocations: 287 kB / 0.6524 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.56e-05/0.1391, allocations: 34.52 kB / 0.6524 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000443/0.1396, allocations: 0.5602 MB / 0.653 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.1396, allocations: 36.44 kB / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1396, allocations: 0 / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002275/0.1398, allocations: 71.33 kB / 0.6531 GB, free: 15.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.1399, allocations: 51.41 kB / 0.6531 GB, free: 15.54 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.14, allocations: 118.7 kB / 0.6532 GB, free: 15.42 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.14, allocations: 33.7 kB / 0.6532 GB, free: 15.38 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.14, allocations: 84.95 kB / 0.6533 GB, free: 15.29 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.1401, allocations: 7.891 kB / 0.6533 GB, free: 15.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.296e-06/0.1401, allocations: 0.875 kB / 0.6533 GB, free: 15.29 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1402, allocations: 323.5 kB / 0.6536 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.359e-05/0.1402, allocations: 18.14 kB / 0.6537 GB, free: 14.95 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.1403, allocations: 12 kB / 0.6537 GB, free: 14.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.084e-05/0.1403, allocations: 11.98 kB / 0.6537 GB, free: 14.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1403, allocations: 0.6562 kB / 0.6537 GB, free: 14.92 MB / 462.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001083/0.1404, allocations: 55.41 kB / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.1405, allocations: 4 kB / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1405, allocations: 4.625 kB / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1405, allocations: 0 / 0.6537 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.975e-05/0.1406, allocations: 12.64 kB / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1406, allocations: 7.547 kB / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.725e-05/0.1406, allocations: 11.84 kB / 0.6538 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.1406, allocations: 4 kB / 0.6538 GB, free: 14.82 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 7.418e-05/0.1407, allocations: 113.8 kB / 0.6539 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.1407, allocations: 0 / 0.6539 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1409, allocations: 69.77 kB / 0.654 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1409, allocations: 1.031 kB / 0.654 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.1409, allocations: 4 kB / 0.654 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1409, allocations: 0 / 0.654 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.1411, allocations: 169.8 kB / 0.6541 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1411, allocations: 8 kB / 0.6541 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.126e-05/0.1411, allocations: 7.984 kB / 0.6541 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1411, allocations: 0 / 0.6541 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1412, allocations: 3.938 kB / 0.6541 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1412, allocations: 0 / 0.6541 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1412, allocations: 0 / 0.6541 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.1413, allocations: 167.3 kB / 0.6543 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.1414, allocations: 77.11 kB / 0.6544 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.1414, allocations: 4 kB / 0.6544 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.938e-05/0.1415, allocations: 4 kB / 0.6544 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1415, allocations: 0 / 0.6544 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1415, allocations: 7.984 kB / 0.6544 GB, free: 14.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.792e-05/0.1416, allocations: 91.28 kB / 0.6545 GB, free: 14.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1416, allocations: 0 / 0.6545 GB, free: 14.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002107/0.1418, allocations: 23.92 kB / 0.6545 GB, free: 13.99 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001117/0.1419, allocations: 103.2 kB / 0.6546 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.142, allocations: 23.98 kB / 0.6546 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.142, allocations: 0 / 0.6546 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.534e-05/0.1421, allocations: 23.92 kB / 0.6546 GB, free: 13.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1422, allocations: 8.844 kB / 0.6547 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002414/0.1425, allocations: 144.6 kB / 0.6548 GB, free: 13.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002043/0.1427, allocations: 0.6887 MB / 0.6555 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.214e-05/0.1427, allocations: 4 kB / 0.6555 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.1427, allocations: 11.44 kB / 0.6555 GB, free: 12.93 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1427, allocations: 4 kB / 0.6555 GB, free: 12.92 MB / 462.1 MB Notification: Performance of Templates: time 0.002217/0.1449, allocations: 453.1 kB / 0.6559 GB, free: 12.48 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1) Environment - environmentSimulation: