Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008938, 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.0009696/0.0009696, allocations: 177.3 kB / 15.95 MB, free: 216 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.209/1.209, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 262.7 kB / 291.2 MB, free: 1.934 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.747/0.747, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 17.31 kB / 0.5683 GB, free: 38.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 83.08 MB / 0.6494 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006496/0.1422, allocations: 341.1 kB / 0.6498 GB, free: 3.242 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005476/0.1428, allocations: 328.5 kB / 0.6501 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.1428, allocations: 1.375 kB / 0.6501 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.099e-05/0.1428, allocations: 0 / 0.6501 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.79e-05/0.1428, allocations: 3.938 kB / 0.6501 GB, free: 2.918 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.1431, allocations: 73.2 kB / 0.6502 GB, free: 2.848 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.282e-05/0.1432, allocations: 11.94 kB / 0.6502 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.1432, allocations: 10.97 kB / 0.6502 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.1433, allocations: 11.97 kB / 0.6502 GB, free: 2.816 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.597e-05/0.1434, allocations: 15.92 kB / 0.6502 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.1434, allocations: 0 / 0.6502 GB, free: 2.801 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.1437, allocations: 255.7 kB / 0.6504 GB, free: 2.551 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.032e-05/0.1437, allocations: 8 kB / 0.6505 GB, free: 2.543 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.621e-05/0.1437, allocations: 33.64 kB / 0.6505 GB, free: 2.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1439, allocations: 63.88 kB / 0.6505 GB, free: 2.441 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1439, allocations: 0.5 kB / 0.6505 GB, free: 2.441 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1439, allocations: 0.5625 kB / 0.6505 GB, free: 2.441 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.965e-06/0.1439, allocations: 0.6875 kB / 0.6505 GB, free: 2.441 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.0003308/0.1442, allocations: 353.3 kB / 0.6509 GB, free: 2.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.1443, allocations: 11.97 kB / 0.6509 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.288e-05/0.1443, allocations: 4 kB / 0.6509 GB, free: 2.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1444, allocations: 163.3 kB / 0.6511 GB, free: 1.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.1444, allocations: 8.703 kB / 0.6511 GB, free: 1.828 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1445, allocations: 4 kB / 0.6511 GB, free: 1.824 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1446, allocations: 50.86 kB / 0.6511 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1446, allocations: 3.938 kB / 0.6511 GB, free: 1.766 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1446, allocations: 4 kB / 0.6511 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.1446, allocations: 0.5625 kB / 0.6511 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.551e-05/0.1447, allocations: 20.95 kB / 0.6511 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1448, allocations: 165.6 kB / 0.6513 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.673e-05/0.1449, allocations: 55.97 kB / 0.6514 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006178/0.1456, allocations: 472.6 kB / 0.6518 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1456, allocations: 31.09 kB / 0.6518 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.1456, allocations: 0.625 kB / 0.6518 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001124/0.1467, allocations: 0.5905 MB / 0.6524 GB, free: 204 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.1468, allocations: 55.41 kB / 0.6525 GB, free: 136 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.424e-05/0.1468, allocations: 95.25 kB / 0.6526 GB, free: 32 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.1469, allocations: 29.7 kB / 0.6526 GB, free: 16 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.1469, allocations: 89 kB / 0.6527 GB, free: 15.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.1469, allocations: 35.41 kB / 0.6527 GB, free: 15.87 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.147, allocations: 0.5625 kB / 0.6527 GB, free: 15.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.1471, allocations: 323.3 kB / 0.653 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.401e-05/0.1471, allocations: 16.52 kB / 0.653 GB, free: 15.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.98e-05/0.1471, allocations: 32.09 kB / 0.6531 GB, free: 15.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.088e-05/0.1472, allocations: 20 kB / 0.6531 GB, free: 15.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1472, allocations: 0.75 kB / 0.6531 GB, free: 15.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00014/0.1473, allocations: 101.5 kB / 0.6532 GB, free: 15.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1474, allocations: 7.375 kB / 0.6532 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1474, allocations: 4 kB / 0.6532 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1474, allocations: 7.969 kB / 0.6532 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.539e-05/0.1475, allocations: 19.98 kB / 0.6532 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.1475, allocations: 0 / 0.6532 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.1475, allocations: 8.531 kB / 0.6532 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1476, allocations: 2.406 kB / 0.6532 GB, free: 15.34 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 (13): * Single equations (assignments): 13 * 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.324e-05/0.1476, allocations: 113.8 kB / 0.6533 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.1477, allocations: 7.953 kB / 0.6533 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.1478, allocations: 109.4 kB / 0.6534 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1479, allocations: 4.531 kB / 0.6534 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1479, allocations: 0 / 0.6534 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1479, allocations: 1.219 kB / 0.6535 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.1482, allocations: 350.5 kB / 0.6538 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1482, allocations: 5.031 kB / 0.6538 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.1483, allocations: 24.08 kB / 0.6538 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.1483, allocations: 6.125 kB / 0.6538 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.1484, allocations: 3.938 kB / 0.6538 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1484, allocations: 0 / 0.6538 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1484, allocations: 4 kB / 0.6538 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1486, allocations: 218 kB / 0.654 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.415e-05/0.1487, allocations: 89.12 kB / 0.6541 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1487, allocations: 0 / 0.6541 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.093e-05/0.1488, allocations: 8 kB / 0.6541 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.1488, allocations: 7.922 kB / 0.6541 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.575e-06/0.1488, allocations: 4.781 kB / 0.6541 GB, free: 14.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.1488, allocations: 79.28 kB / 0.6542 GB, free: 14.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1488, allocations: 1.719 kB / 0.6542 GB, free: 14.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1491, allocations: 47.98 kB / 0.6543 GB, free: 14.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.000197/0.1493, allocations: 143.2 kB / 0.6544 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001224/0.1494, allocations: 64.56 kB / 0.6545 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1494, allocations: 0.6875 kB / 0.6545 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 4.186e-05/0.1495, allocations: 28 kB / 0.6545 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001282/0.1496, allocations: 13.88 kB / 0.6545 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.1499, allocations: 195 kB / 0.6547 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1501, allocations: 0.6887 MB / 0.6554 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 4.472e-05/0.1502, allocations: 15.98 kB / 0.6554 GB, free: 12.97 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.1502, allocations: 15.44 kB / 0.6554 GB, free: 12.96 MB / 462.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1502, allocations: 0 / 0.6554 GB, free: 12.96 MB / 462.1 MB Notification: Performance of Templates: time 0.003306/0.1535, allocations: 1.344 MB / 0.6567 GB, free: 11.64 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: