Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") translateModel(BuildingSystems.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000879/0.000879, allocations: 99.55 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.001215/0.001215, 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.239/1.239, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001762/0.001761, allocations: 266.7 kB / 291.2 MB, free: 1.992 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.8204/0.8204, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 11.47 kB / 0.5683 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 83.08 MB / 0.6494 GB, free: 3.582 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.001565/0.132, allocations: 1.187 MB / 0.6506 GB, free: 2.387 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002746/0.1324, allocations: 107.8 kB / 0.6507 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.439e-05/0.1324, allocations: 0 / 0.6507 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.1325, allocations: 3.938 kB / 0.6507 GB, free: 2.277 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.96e-05/0.1325, allocations: 10.7 kB / 0.6507 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000173/0.1327, allocations: 15.98 kB / 0.6507 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.306e-05/0.1328, allocations: 23.95 kB / 0.6507 GB, free: 2.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.423e-05/0.1329, allocations: 11.98 kB / 0.6507 GB, free: 2.219 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.451e-05/0.1329, allocations: 15.92 kB / 0.6508 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.133, allocations: 25.42 kB / 0.6508 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.133, allocations: 4 kB / 0.6508 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.082e-05/0.1331, allocations: 11.98 kB / 0.6508 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.376e-05/0.1331, allocations: 11.92 kB / 0.6508 GB, free: 2.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.1332, allocations: 30.2 kB / 0.6508 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.24e-05/0.1333, allocations: 40.48 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1333, allocations: 0 / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1333, allocations: 0.5938 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.1333, allocations: 0.5312 kB / 0.6509 GB, free: 2.078 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005279/0.1338, allocations: 382.2 kB / 0.6512 GB, free: 1.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1339, allocations: 8.031 kB / 0.6513 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.1339, allocations: 8.438 kB / 0.6513 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.1341, allocations: 175.5 kB / 0.6514 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.1341, allocations: 3.953 kB / 0.6514 GB, free: 1.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.1341, allocations: 5.5 kB / 0.6514 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.1344, allocations: 83.05 kB / 0.6515 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.1344, allocations: 0.7188 kB / 0.6515 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1344, allocations: 0 / 0.6515 GB, free: 1.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1344, allocations: 5.062 kB / 0.6515 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000303/0.1347, allocations: 91.33 kB / 0.6516 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003489/0.1351, allocations: 298.1 kB / 0.6519 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1353, allocations: 77.97 kB / 0.652 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002007/0.1355, allocations: 101.9 kB / 0.6521 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1356, allocations: 39.44 kB / 0.6521 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.1356, allocations: 0.75 kB / 0.6521 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005543/0.1361, allocations: 180.2 kB / 0.6523 GB, free: 500 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.1362, allocations: 51.41 kB / 0.6523 GB, free: 436 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.63e-05/0.1363, allocations: 137.7 kB / 0.6525 GB, free: 292 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1363, allocations: 25.7 kB / 0.6525 GB, free: 260 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/0.1363, allocations: 96.56 kB / 0.6526 GB, free: 160 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.1364, allocations: 15.22 kB / 0.6526 GB, free: 148 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-06/0.1364, allocations: 0 / 0.6526 GB, free: 148 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1365, allocations: 322.7 kB / 0.6529 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.1367, allocations: 53.11 kB / 0.6529 GB, free: 15.77 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1368, allocations: 45.7 kB / 0.653 GB, free: 15.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.137, allocations: 47.97 kB / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.137, allocations: 0 / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003448/0.1373, allocations: 141.5 kB / 0.6532 GB, free: 15.54 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.1374, allocations: 5.406 kB / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1374, allocations: 4 kB / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1374, allocations: 0 / 0.6532 GB, free: 15.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.1375, allocations: 23.98 kB / 0.6532 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1375, allocations: 0 / 0.6532 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.308e-05/0.1376, allocations: 19.97 kB / 0.6532 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.1377, allocations: 0 / 0.6532 GB, free: 15.48 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 (3): * Single equations (assignments): 3 * 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.764e-05/0.1378, allocations: 117.8 kB / 0.6533 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.1378, allocations: 8 kB / 0.6533 GB, free: 15.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.1382, allocations: 137.5 kB / 0.6535 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1382, allocations: 4 kB / 0.6535 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1382, allocations: 0 / 0.6535 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1382, allocations: 0 / 0.6535 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.1384, allocations: 189.4 kB / 0.6537 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1384, allocations: 0 / 0.6537 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.1385, allocations: 23.98 kB / 0.6537 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1385, allocations: 4 kB / 0.6537 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1385, allocations: 4 kB / 0.6537 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1385, allocations: 0 / 0.6537 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1385, allocations: 0 / 0.6537 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.1389, allocations: 223.5 kB / 0.6539 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.754e-05/0.139, allocations: 84.97 kB / 0.654 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.139, allocations: 4 kB / 0.654 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.1391, allocations: 19.98 kB / 0.654 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.1392, allocations: 3.984 kB / 0.654 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1392, allocations: 0 / 0.654 GB, free: 14.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.437e-05/0.1392, allocations: 99.27 kB / 0.6541 GB, free: 14.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1392, allocations: 0 / 0.6541 GB, free: 14.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1395, allocations: 16 kB / 0.6541 GB, free: 14.46 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 (3): * Single equations (assignments): 3 * 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.0001416/0.1396, allocations: 107.1 kB / 0.6542 GB, free: 14.35 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.14, allocations: 103.9 kB / 0.6543 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.14, allocations: 7.938 kB / 0.6543 GB, free: 14.24 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1402, allocations: 47.95 kB / 0.6544 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.1404, allocations: 8 kB / 0.6544 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.1407, allocations: 160.9 kB / 0.6545 GB, free: 14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.1409, allocations: 0.6887 MB / 0.6552 GB, free: 13.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.882e-05/0.1409, allocations: 4.422 kB / 0.6552 GB, free: 13.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.085e-05/0.141, allocations: 7.438 kB / 0.6552 GB, free: 13.27 MB / 462.1 MB Notification: Performance of SimCode: time 2.1e-07/0.141, allocations: 0 / 0.6552 GB, free: 13.27 MB / 462.1 MB Notification: Performance of Templates: time 0.002663/0.1436, allocations: 0.6431 MB / 0.6558 GB, free: 12.63 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: