Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.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.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008033/0.0008032, allocations: 100.1 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.0008411/0.0008411, 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.214/1.214, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 274.6 kB / 291.3 MB, free: 1.988 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.7438/0.7438, allocations: 144.6 MB / 487 MB, free: 7.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003868, allocations: 14.44 kB / 0.5683 GB, free: 38.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1378, allocations: 83.08 MB / 0.6494 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.001381/0.1392, allocations: 1.184 MB / 0.6506 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002304/0.1394, allocations: 107.8 kB / 0.6507 GB, free: 2.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.1395, allocations: 3.938 kB / 0.6507 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.847e-05/0.1395, allocations: 2.312 kB / 0.6507 GB, free: 2.309 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.678e-05/0.1396, allocations: 15.97 kB / 0.6507 GB, free: 2.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001432/0.1397, allocations: 11.98 kB / 0.6507 GB, free: 2.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.238e-05/0.1398, allocations: 27.91 kB / 0.6507 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.591e-05/0.1399, allocations: 14.7 kB / 0.6508 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/0.1399, allocations: 15.98 kB / 0.6508 GB, free: 2.227 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.559e-05/0.14, allocations: 19.91 kB / 0.6508 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.14, allocations: 4 kB / 0.6508 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.1401, allocations: 19.92 kB / 0.6508 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.004e-05/0.1401, allocations: 4 kB / 0.6508 GB, free: 2.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.973e-05/0.1401, allocations: 33.7 kB / 0.6509 GB, free: 2.141 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.1402, allocations: 45.33 kB / 0.6509 GB, free: 2.098 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1402, allocations: 0 / 0.6509 GB, free: 2.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1403, allocations: 0 / 0.6509 GB, free: 2.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.1403, allocations: 0 / 0.6509 GB, free: 2.098 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.00047/0.1407, allocations: 382.6 kB / 0.6513 GB, free: 1.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1408, allocations: 8.031 kB / 0.6513 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.992e-05/0.1408, allocations: 8.5 kB / 0.6513 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1409, allocations: 171 kB / 0.6514 GB, free: 1.457 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.141, allocations: 5.453 kB / 0.6514 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.141, allocations: 4 kB / 0.6514 GB, free: 1.449 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.1413, allocations: 83.78 kB / 0.6515 GB, free: 1.363 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.1413, allocations: 4 kB / 0.6515 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1413, allocations: 1.094 kB / 0.6515 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1413, allocations: 0 / 0.6515 GB, free: 1.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003336/0.1417, allocations: 99.89 kB / 0.6516 GB, free: 1.266 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.142, allocations: 289.9 kB / 0.6519 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.1423, allocations: 78.25 kB / 0.652 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.1425, allocations: 106.2 kB / 0.6521 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1425, allocations: 34.56 kB / 0.6521 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1425, allocations: 0.6875 kB / 0.6521 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.000536/0.1431, allocations: 180.2 kB / 0.6523 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1431, allocations: 51.41 kB / 0.6523 GB, free: 460 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.1432, allocations: 133.8 kB / 0.6525 GB, free: 320 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.1432, allocations: 25.7 kB / 0.6525 GB, free: 288 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.1433, allocations: 103.5 kB / 0.6526 GB, free: 184 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1433, allocations: 11.78 kB / 0.6526 GB, free: 172 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1433, allocations: 0 / 0.6526 GB, free: 172 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1435, allocations: 322.8 kB / 0.6529 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1436, allocations: 48.92 kB / 0.653 GB, free: 15.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.1438, allocations: 46.17 kB / 0.653 GB, free: 15.75 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.1439, allocations: 49.06 kB / 0.653 GB, free: 15.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1439, allocations: 0 / 0.653 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003306/0.1443, allocations: 141.8 kB / 0.6532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.1443, allocations: 4 kB / 0.6532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1443, allocations: 0 / 0.6532 GB, free: 15.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1443, allocations: 4 kB / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.1445, allocations: 15.98 kB / 0.6532 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1445, allocations: 4 kB / 0.6532 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.1446, allocations: 15.98 kB / 0.6532 GB, free: 15.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1446, allocations: 4 kB / 0.6532 GB, free: 15.52 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 7.99e-05/0.1447, allocations: 121.8 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1447, allocations: 3.984 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003733/0.1451, allocations: 141.5 kB / 0.6535 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1451, allocations: 4 kB / 0.6535 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.1451, allocations: 3.984 kB / 0.6535 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1451, allocations: 4 kB / 0.6535 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1453, allocations: 177.5 kB / 0.6537 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.1453, allocations: 3.984 kB / 0.6537 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.1454, allocations: 19.98 kB / 0.6537 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1454, allocations: 0 / 0.6537 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1454, allocations: 0 / 0.6537 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1454, allocations: 0 / 0.6537 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1454, allocations: 8 kB / 0.6537 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.1458, allocations: 223.5 kB / 0.6539 GB, free: 14.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.756e-05/0.1458, allocations: 84.97 kB / 0.654 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.1459, allocations: 4 kB / 0.654 GB, free: 14.63 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.146, allocations: 19.92 kB / 0.654 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.146, allocations: 11.98 kB / 0.654 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.146, allocations: 0 / 0.654 GB, free: 14.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.562e-05/0.1461, allocations: 103.3 kB / 0.6541 GB, free: 14.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1461, allocations: 0 / 0.6541 GB, free: 14.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1463, allocations: 15.94 kB / 0.6541 GB, free: 14.48 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.0001445/0.1465, allocations: 103.2 kB / 0.6542 GB, free: 14.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.1468, allocations: 99.92 kB / 0.6543 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1468, allocations: 3.938 kB / 0.6543 GB, free: 14.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001507/0.147, allocations: 55.95 kB / 0.6544 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.1471, allocations: 7.938 kB / 0.6544 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002749/0.1474, allocations: 160.9 kB / 0.6545 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.1477, allocations: 0.6887 MB / 0.6552 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.497e-05/0.1477, allocations: 0 / 0.6552 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.1477, allocations: 7.438 kB / 0.6552 GB, free: 13.3 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1477, allocations: 0 / 0.6552 GB, free: 13.3 MB / 462.1 MB Notification: Performance of Templates: time 0.002472/0.1502, allocations: 0.6496 MB / 0.6559 GB, free: 12.66 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile Environment - environmentSimulation: (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) Environment - environmentSimulation: