Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized",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.001044/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001131/0.001131, allocations: 195.1 kB / 16.14 MB, free: 6.707 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.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001971/0.001971, allocations: 283.1 kB / 290.2 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8851/0.8851, allocations: 169.2 MB / 0.4977 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 87.7 kB / 0.5946 GB, free: 28.45 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1763, allocations: 86.98 MB / 0.6795 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002706/0.1791, allocations: 1.503 MB / 0.681 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002997/0.1794, allocations: 90.22 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.1794, allocations: 0 / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.1795, allocations: 7.922 kB / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.154e-05/0.1795, allocations: 0 / 0.6811 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.1797, allocations: 12.72 kB / 0.6811 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.546e-05/0.1798, allocations: 23.86 kB / 0.6811 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.1799, allocations: 9.156 kB / 0.6811 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.1799, allocations: 8.609 kB / 0.6812 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.18, allocations: 15.92 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.18, allocations: 1.719 kB / 0.6812 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.308e-05/0.1801, allocations: 15.98 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.785e-05/0.1801, allocations: 7.984 kB / 0.6812 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.944e-05/0.1801, allocations: 11.94 kB / 0.6812 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1803, allocations: 31.83 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1803, allocations: 4 kB / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1803, allocations: 0 / 0.6812 GB, free: 15.36 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1803, allocations: 3.938 kB / 0.6812 GB, free: 15.36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004525/0.1807, allocations: 341.4 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.1808, allocations: 8.031 kB / 0.6816 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.1808, allocations: 38.75 kB / 0.6816 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.181, allocations: 12.92 kB / 0.6816 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1811, allocations: 168.3 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.1812, allocations: 4.375 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1812, allocations: 4.375 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.1814, allocations: 50.23 kB / 0.6818 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1814, allocations: 7.875 kB / 0.6818 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1814, allocations: 4 kB / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1814, allocations: 0 / 0.6819 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.1816, allocations: 55.88 kB / 0.6819 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.182, allocations: 264.8 kB / 0.6822 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.1822, allocations: 58.47 kB / 0.6822 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.1823, allocations: 24.91 kB / 0.6822 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1823, allocations: 8 kB / 0.6822 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1823, allocations: 30.56 kB / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.203e-06/0.1823, allocations: 0 / 0.6823 GB, free: 14.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004052/0.1828, allocations: 105.6 kB / 0.6824 GB, free: 14.02 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1828, allocations: 55.53 kB / 0.6824 GB, free: 13.95 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.1829, allocations: 105.8 kB / 0.6825 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1829, allocations: 25.7 kB / 0.6826 GB, free: 13.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.505e-05/0.183, allocations: 88.12 kB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.183, allocations: 7.891 kB / 0.6826 GB, free: 13.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.183, allocations: 13.72 kB / 0.6827 GB, free: 13.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1832, allocations: 314.8 kB / 0.683 GB, free: 13.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.1833, allocations: 23.97 kB / 0.683 GB, free: 13.35 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.098e-05/0.1834, allocations: 23.98 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.1835, allocations: 48.81 kB / 0.683 GB, free: 13.27 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1836, allocations: 7.875 kB / 0.6831 GB, free: 13.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002362/0.1838, allocations: 89.69 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1838, allocations: 4 kB / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1838, allocations: 256 / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1838, allocations: 0 / 0.6831 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.184, allocations: 15.98 kB / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.184, allocations: 0 / 0.6832 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.184, allocations: 15.89 kB / 0.6832 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1841, allocations: 0 / 0.6832 GB, free: 13.14 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 (2): * Single equations (assignments): 2 * 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 7.917e-05/0.1841, allocations: 118.5 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1842, allocations: 4 kB / 0.6833 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.1842, allocations: 3.531 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1842, allocations: 0 / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1842, allocations: 3.984 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1842, allocations: 0 / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.1844, allocations: 169.6 kB / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1844, allocations: 0 / 0.6835 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.1845, allocations: 11.98 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.1845, allocations: 7.938 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.1845, allocations: 3.938 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1845, allocations: 0 / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1846, allocations: 3.938 kB / 0.6835 GB, free: 12.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.1848, allocations: 175.4 kB / 0.6837 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.1849, allocations: 81.05 kB / 0.6837 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1849, allocations: 8 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.185, allocations: 7.984 kB / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1851, allocations: 0 / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1851, allocations: 0 / 0.6837 GB, free: 12.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.416e-05/0.1851, allocations: 87.28 kB / 0.6838 GB, free: 12.37 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1851, allocations: 0 / 0.6838 GB, free: 12.37 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002099/0.1853, allocations: 7.984 kB / 0.6838 GB, free: 12.36 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 (2): * Single equations (assignments): 2 * 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.0005382/0.1859, allocations: 0.7124 MB / 0.6845 GB, free: 11.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.1861, allocations: 51.98 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1861, allocations: 0 / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.792e-05/0.1862, allocations: 27.97 kB / 0.6846 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.1865, allocations: 4 kB / 0.6846 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.187, allocations: 153 kB / 0.6848 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1873, allocations: 0.6848 MB / 0.6854 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.215e-05/0.1873, allocations: 0 / 0.6854 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.198e-05/0.1874, allocations: 11.44 kB / 0.6854 GB, free: 10.63 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1874, allocations: 3.938 kB / 0.6854 GB, free: 10.63 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.198, allocations: 1.266 MB / 0.6867 GB, free: 9.473 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/0.1984, allocations: 210.7 kB / 0.6869 GB, free: 9.215 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/1.792, allocations: 0 / 0.6869 GB, free: 9.215 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)