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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001301, allocations: 99.86 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.001629/0.001629, 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.403/1.403, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001997/0.001997, allocations: 259.1 kB / 291.2 MB, free: 1.879 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.8816/0.8816, allocations: 144.6 MB / 487 MB, free: 7.176 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004902, allocations: 14.44 kB / 0.5684 GB, free: 38.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1784, allocations: 83.09 MB / 0.6495 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Biquadratic): time 0.001484/0.1799, allocations: 1.186 MB / 0.6507 GB, free: 2.285 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001817/0.1801, allocations: 99.78 kB / 0.6508 GB, free: 2.188 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.771e-05/0.1801, allocations: 5 kB / 0.6508 GB, free: 2.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.1802, allocations: 7.922 kB / 0.6508 GB, free: 2.176 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.399e-05/0.1802, allocations: 4.984 kB / 0.6508 GB, free: 2.172 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.708e-05/0.1803, allocations: 15.98 kB / 0.6508 GB, free: 2.156 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.826e-05/0.1804, allocations: 29.19 kB / 0.6508 GB, free: 2.129 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.785e-05/0.1804, allocations: 13.11 kB / 0.6509 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.1805, allocations: 15.98 kB / 0.6509 GB, free: 2.102 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.011e-05/0.1805, allocations: 23.91 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.146e-06/0.1805, allocations: 0.5625 kB / 0.6509 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.1806, allocations: 11.98 kB / 0.6509 GB, free: 2.066 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.1806, allocations: 17.17 kB / 0.6509 GB, free: 2.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.036e-05/0.1806, allocations: 33.7 kB / 0.651 GB, free: 2.012 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 6.018e-05/0.1807, allocations: 31.94 kB / 0.651 GB, free: 1.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-06/0.1807, allocations: 1.375 kB / 0.651 GB, free: 1.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1807, allocations: 0 / 0.651 GB, free: 1.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.164e-06/0.1807, allocations: 3.938 kB / 0.651 GB, free: 1.977 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.0004142/0.1811, allocations: 383.8 kB / 0.6514 GB, free: 1.559 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.895e-05/0.1812, allocations: 12.03 kB / 0.6514 GB, free: 1.547 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.916e-05/0.1812, allocations: 30.56 kB / 0.6514 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.1812, allocations: 11.89 kB / 0.6514 GB, free: 1.496 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.1814, allocations: 171 kB / 0.6516 GB, free: 1.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.512e-06/0.1814, allocations: 3.953 kB / 0.6516 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.1814, allocations: 0.5 kB / 0.6516 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.1816, allocations: 89.48 kB / 0.6517 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.567e-06/0.1817, allocations: 0 / 0.6517 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1817, allocations: 4 kB / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.126e-06/0.1817, allocations: 0 / 0.6517 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.1821, allocations: 99.8 kB / 0.6518 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.1824, allocations: 286.6 kB / 0.652 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/0.1826, allocations: 76.66 kB / 0.6521 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.1828, allocations: 106.4 kB / 0.6522 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.1828, allocations: 35.22 kB / 0.6522 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1828, allocations: 0.5938 kB / 0.6522 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007081/0.1836, allocations: 179.5 kB / 0.6524 GB, free: 356 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/0.1836, allocations: 52.16 kB / 0.6525 GB, free: 292 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.83e-05/0.1837, allocations: 127.8 kB / 0.6526 GB, free: 156 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.1837, allocations: 25.7 kB / 0.6526 GB, free: 124 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.1838, allocations: 104 kB / 0.6527 GB, free: 16 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.1838, allocations: 7.844 kB / 0.6527 GB, free: 8 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.1838, allocations: 0 / 0.6527 GB, free: 8 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1839, allocations: 323.9 kB / 0.653 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.1841, allocations: 46.27 kB / 0.6531 GB, free: 15.64 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.1843, allocations: 50.8 kB / 0.6531 GB, free: 15.59 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001483/0.1845, allocations: 50.31 kB / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1845, allocations: 0 / 0.6532 GB, free: 15.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004396/0.1849, allocations: 144.6 kB / 0.6533 GB, free: 15.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1849, allocations: 4 kB / 0.6533 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.185, allocations: 0 / 0.6533 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.185, allocations: 4 kB / 0.6533 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1851, allocations: 15.98 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1851, allocations: 4 kB / 0.6533 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.1852, allocations: 16.31 kB / 0.6533 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.1852, allocations: 4 kB / 0.6533 GB, free: 15.36 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 6.692e-05/0.1853, allocations: 121.8 kB / 0.6535 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.1853, allocations: 0 / 0.6535 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004117/0.1857, allocations: 153.3 kB / 0.6536 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1858, allocations: 0 / 0.6536 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1858, allocations: 7.984 kB / 0.6536 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1858, allocations: 3.938 kB / 0.6536 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.186, allocations: 173.6 kB / 0.6538 GB, free: 14.84 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.186, allocations: 4 kB / 0.6538 GB, free: 14.83 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.1861, allocations: 23.97 kB / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1861, allocations: 0 / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.1861, allocations: 0 / 0.6538 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1861, allocations: 4 kB / 0.6538 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1861, allocations: 0 / 0.6538 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.1865, allocations: 227.5 kB / 0.654 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.1866, allocations: 84.97 kB / 0.6541 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.1866, allocations: 7.938 kB / 0.6541 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.1867, allocations: 15.98 kB / 0.6541 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1868, allocations: 7.984 kB / 0.6541 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.1868, allocations: 0 / 0.6541 GB, free: 14.43 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.1869, allocations: 98.77 kB / 0.6542 GB, free: 14.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1869, allocations: 7.938 kB / 0.6542 GB, free: 14.33 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.1871, allocations: 16 kB / 0.6543 GB, free: 14.32 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.0007937/0.1879, allocations: 0.7553 MB / 0.655 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004015/0.1884, allocations: 111.8 kB / 0.6551 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1884, allocations: 0 / 0.6551 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.1886, allocations: 51.97 kB / 0.6552 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.1887, allocations: 3.984 kB / 0.6552 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004667/0.1892, allocations: 198.5 kB / 0.6554 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.1894, allocations: 0.6926 MB / 0.656 GB, free: 12.42 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.957e-05/0.1895, allocations: 3.984 kB / 0.656 GB, free: 12.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.788e-05/0.1895, allocations: 19.44 kB / 0.6561 GB, free: 12.39 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1895, allocations: 0 / 0.6561 GB, free: 12.39 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.2013, allocations: 1.529 MB / 0.6575 GB, free: 11 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000165/0.2015, allocations: 188 kB / 0.6577 GB, free: 10.76 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.499, allocations: 3.938 kB / 0.6577 GB, free: 10.75 MB / 462.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Biquadratic.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Biquadratic.pipe 2>&1) Environment - environmentSimulation: