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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear",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.001268/0.001268, allocations: 107.3 kB / 15.23 MB, free: 0.6523 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.001503/0.001503, allocations: 198 kB / 16.14 MB, free: 6.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001942/0.001942, allocations: 290.9 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8751/0.8751, allocations: 169.2 MB / 0.4977 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 92.83 kB / 0.5946 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1719, allocations: 86.98 MB / 0.6795 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.00274/0.1747, allocations: 1.548 MB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002954/0.175, allocations: 101.2 kB / 0.6812 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.698e-05/0.175, allocations: 1.531 kB / 0.6812 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.924e-05/0.1751, allocations: 7.922 kB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.722e-05/0.1752, allocations: 7.938 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.1753, allocations: 16.52 kB / 0.6812 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.412e-05/0.1754, allocations: 51.84 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.359e-05/0.1755, allocations: 8.281 kB / 0.6812 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.157e-05/0.1756, allocations: 15.97 kB / 0.6813 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.1756, allocations: 23.86 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.1756, allocations: 0 / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.012e-05/0.1757, allocations: 27.92 kB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.593e-05/0.1758, allocations: 15.92 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.1758, allocations: 19.86 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1759, allocations: 59.73 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1759, allocations: 4 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1759, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.176, allocations: 0 / 0.6814 GB, free: 15.21 MB / 494.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.0005043/0.1765, allocations: 375.3 kB / 0.6818 GB, free: 14.8 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1765, allocations: 8.031 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.109e-05/0.1766, allocations: 34.75 kB / 0.6818 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.003e-05/0.1766, allocations: 8.844 kB / 0.6818 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1767, allocations: 172.2 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1768, allocations: 12.38 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1768, allocations: 4.359 kB / 0.682 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002524/0.177, allocations: 70.22 kB / 0.6821 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1771, allocations: 7.875 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1771, allocations: 0 / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1771, allocations: 4 kB / 0.6821 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.1774, allocations: 75.92 kB / 0.6821 GB, free: 14.36 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003913/0.1778, allocations: 284.9 kB / 0.6824 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002152/0.178, allocations: 66.47 kB / 0.6825 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.1782, allocations: 52.91 kB / 0.6825 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.1784, allocations: 109 kB / 0.6826 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1785, allocations: 30.56 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1785, allocations: 4 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005463/0.179, allocations: 153.5 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.1791, allocations: 51.41 kB / 0.6829 GB, free: 13.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.1792, allocations: 129.3 kB / 0.683 GB, free: 13.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1792, allocations: 25.7 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.488e-05/0.1793, allocations: 92.14 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/0.1793, allocations: 7.812 kB / 0.6831 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.1793, allocations: 21.7 kB / 0.6831 GB, free: 13.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.1795, allocations: 314.8 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1796, allocations: 35.95 kB / 0.6835 GB, free: 12.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/0.1798, allocations: 39.91 kB / 0.6835 GB, free: 12.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002612/0.18, allocations: 84.72 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.18, allocations: 4 kB / 0.6836 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003034/0.1804, allocations: 105.6 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1804, allocations: 4 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1804, allocations: 0 / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1804, allocations: 4 kB / 0.6837 GB, free: 12.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.1805, allocations: 15.98 kB / 0.6837 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1806, allocations: 3.984 kB / 0.6837 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.1806, allocations: 19.83 kB / 0.6837 GB, free: 12.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.1807, allocations: 0 / 0.6837 GB, free: 12.58 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.579e-05/0.1808, allocations: 122.4 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1808, allocations: 4 kB / 0.6838 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003674/0.1812, allocations: 121.5 kB / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1812, allocations: 0 / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.1812, allocations: 0 / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1812, allocations: 0 / 0.684 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1814, allocations: 189.5 kB / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.1814, allocations: 0 / 0.6841 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.14e-05/0.1815, allocations: 15.98 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1815, allocations: 0 / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.1815, allocations: 4 kB / 0.6842 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1815, allocations: 7.938 kB / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1815, allocations: 0 / 0.6842 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003564/0.1819, allocations: 215.2 kB / 0.6844 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.1819, allocations: 85.02 kB / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.1819, allocations: 0 / 0.6845 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.182, allocations: 11.97 kB / 0.6845 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.1821, allocations: 4 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1821, allocations: 4.422 kB / 0.6845 GB, free: 11.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.1822, allocations: 95.27 kB / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1822, allocations: 0 / 0.6846 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.1824, allocations: 15.98 kB / 0.6846 GB, free: 11.6 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006306/0.1831, allocations: 0.7552 MB / 0.6853 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.1834, allocations: 79.92 kB / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1834, allocations: 0 / 0.6854 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1835, allocations: 39.95 kB / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000249/0.1838, allocations: 8 kB / 0.6854 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004613/0.1843, allocations: 200.9 kB / 0.6856 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.1845, allocations: 0.6887 MB / 0.6863 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.238e-05/0.1846, allocations: 0 / 0.6863 GB, free: 9.746 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.118e-05/0.1846, allocations: 19.38 kB / 0.6863 GB, free: 9.727 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1846, allocations: 0 / 0.6863 GB, free: 9.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.1955, allocations: 1.621 MB / 0.6879 GB, free: 8.207 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000227/0.1958, allocations: 214 kB / 0.6881 GB, free: 7.949 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/1.847, allocations: 4 kB / 0.6881 GB, free: 7.945 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_QuadraticLinear.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)