Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.0007835/0.0007836, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008551/0.0008551, allocations: 168.7 kB / 15.95 MB, free: 204 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.325/1.325, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9493/0.9493, allocations: 143.4 MB / 434.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003397, allocations: 19.98 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1818, allocations: 83.41 MB / 0.5976 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0006964/0.1826, allocations: 319 kB / 0.5979 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002775/0.1829, allocations: 87.78 kB / 0.5979 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.289e-05/0.1829, allocations: 0 / 0.5979 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.1829, allocations: 0 / 0.5979 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.928e-05/0.183, allocations: 0 / 0.5979 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.1831, allocations: 7.984 kB / 0.598 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.206e-05/0.1832, allocations: 12 kB / 0.598 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.1832, allocations: 3.984 kB / 0.598 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.1832, allocations: 7.938 kB / 0.598 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.1833, allocations: 3.984 kB / 0.598 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1833, allocations: 0 / 0.598 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.154e-05/0.1834, allocations: 15.98 kB / 0.598 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.123e-06/0.1834, allocations: 0 / 0.598 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.385e-05/0.1834, allocations: 25.7 kB / 0.598 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.422e-05/0.1835, allocations: 11.98 kB / 0.598 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1835, allocations: 0 / 0.598 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1835, allocations: 4 kB / 0.598 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.1835, allocations: 0 / 0.598 GB, free: 7.184 MB / 0.4981 GB 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.0003391/0.1839, allocations: 315.4 kB / 0.5983 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.1839, allocations: 8.031 kB / 0.5983 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.221e-05/0.1839, allocations: 30.56 kB / 0.5984 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1841, allocations: 11.98 kB / 0.5984 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1842, allocations: 171 kB / 0.5985 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.1843, allocations: 4 kB / 0.5986 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1843, allocations: 4 kB / 0.5986 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1844, allocations: 41.62 kB / 0.5986 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1844, allocations: 3.938 kB / 0.5986 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.1844, allocations: 0 / 0.5986 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1844, allocations: 0 / 0.5986 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.147e-05/0.1845, allocations: 11.98 kB / 0.5986 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.1847, allocations: 157.7 kB / 0.5988 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.1848, allocations: 46.5 kB / 0.5988 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.1849, allocations: 20.91 kB / 0.5988 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.1849, allocations: 0 / 0.5988 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.185, allocations: 30.56 kB / 0.5989 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.185, allocations: 0 / 0.5989 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001823/0.1851, allocations: 53.67 kB / 0.5989 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.1852, allocations: 59.41 kB / 0.599 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.835e-05/0.1852, allocations: 89.86 kB / 0.599 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1853, allocations: 29.64 kB / 0.5991 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.1853, allocations: 80.14 kB / 0.5992 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.1853, allocations: 20.02 kB / 0.5992 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.1853, allocations: 0 / 0.5992 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.1854, allocations: 314.8 kB / 0.5995 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.583e-05/0.1855, allocations: 11.98 kB / 0.5995 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.556e-05/0.1855, allocations: 12.17 kB / 0.5995 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.1856, allocations: 11.98 kB / 0.5995 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1856, allocations: 0 / 0.5995 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.523e-05/0.1857, allocations: 45.69 kB / 0.5995 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.1857, allocations: 4 kB / 0.5996 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1857, allocations: 0 / 0.5996 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1857, allocations: 4 kB / 0.5996 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003239/0.1861, allocations: 43.92 kB / 0.5996 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.1874, allocations: 1.306 MB / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.471e-05/0.1875, allocations: 0 / 0.6009 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.1875, allocations: 0 / 0.6009 GB, free: 3.922 MB / 0.4981 GB 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.1876, allocations: 118 kB / 0.601 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.1876, allocations: 0 / 0.601 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.599e-05/0.1876, allocations: 11.48 kB / 0.601 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.1876, allocations: 0 / 0.601 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1876, allocations: 4 kB / 0.601 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.1876, allocations: 0 / 0.601 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.1877, allocations: 149.6 kB / 0.6011 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.1877, allocations: 3.938 kB / 0.6011 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.188, allocations: 55.92 kB / 0.6012 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1881, allocations: 0 / 0.6012 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1881, allocations: 4 kB / 0.6012 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/0.1892, allocations: 1.314 MB / 0.6025 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1892, allocations: 4.156 kB / 0.6025 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.1894, allocations: 73.05 kB / 0.6026 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.907e-05/0.1895, allocations: 81.11 kB / 0.6026 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.1895, allocations: 4 kB / 0.6026 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.665e-05/0.1895, allocations: 3.984 kB / 0.6026 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.1895, allocations: 0 / 0.6026 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.1895, allocations: 4 kB / 0.6027 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.923e-05/0.1896, allocations: 79.28 kB / 0.6027 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1896, allocations: 0 / 0.6027 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001849/0.1898, allocations: 4 kB / 0.6027 GB, free: 1.789 MB / 0.4981 GB 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): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004719/0.1902, allocations: 0.6124 MB / 0.6033 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003771/0.1906, allocations: 63.91 kB / 0.6034 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.1906, allocations: 0 / 0.6034 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.1909, allocations: 35.95 kB / 0.6034 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.191, allocations: 6.406 kB / 0.6034 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.1915, allocations: 124.5 kB / 0.6035 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1919, allocations: 0.6731 MB / 0.6042 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.299e-05/0.1919, allocations: 7.984 kB / 0.6042 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.566e-05/0.192, allocations: 15.44 kB / 0.6042 GB, free: 164 kB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.192, allocations: 0 / 0.6042 GB, free: 164 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2675/0.4595, allocations: 1.08 MB / 0.6053 GB, free: 40 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/0.4597, allocations: 229.9 kB / 0.6055 GB, free: 39.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.686/2.146, allocations: 1.484 kB / 0.6055 GB, free: 39.76 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) Environment - environmentSimulation: