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.0009647/0.0009647, allocations: 99.08 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.001098/0.001099, 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.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.091/1.091, allocations: 143.3 MB / 434.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004472, allocations: 8 kB / 0.5159 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1754, allocations: 83.41 MB / 0.5974 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.0007583/0.1762, allocations: 311.1 kB / 0.5977 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000262/0.1765, allocations: 87.8 kB / 0.5977 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.192e-05/0.1765, allocations: 3.938 kB / 0.5977 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1765, allocations: 0 / 0.5977 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.825e-05/0.1766, allocations: 0 / 0.5977 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.1767, allocations: 15.91 kB / 0.5978 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.308e-05/0.1768, allocations: 8 kB / 0.5978 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.1768, allocations: 4 kB / 0.5978 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.907e-05/0.1769, allocations: 3.984 kB / 0.5978 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.1769, allocations: 4 kB / 0.5978 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.177, allocations: 0 / 0.5978 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.703e-05/0.177, allocations: 11.98 kB / 0.5978 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.177, allocations: 7.922 kB / 0.5978 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.1771, allocations: 29.7 kB / 0.5978 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.755e-05/0.1772, allocations: 7.984 kB / 0.5978 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1772, allocations: 0 / 0.5978 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1772, allocations: 0 / 0.5978 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1772, allocations: 4 kB / 0.5978 GB, free: 7.309 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.0003613/0.1776, allocations: 311.4 kB / 0.5981 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1776, allocations: 8.031 kB / 0.5981 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.639e-05/0.1776, allocations: 38.55 kB / 0.5982 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1778, allocations: 7.984 kB / 0.5982 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.369e-05/0.1779, allocations: 167 kB / 0.5984 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.1779, allocations: 4 kB / 0.5984 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.178, allocations: 0 / 0.5984 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1781, allocations: 41.69 kB / 0.5984 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1781, allocations: 0 / 0.5984 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.1781, allocations: 4 kB / 0.5984 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1781, allocations: 3.938 kB / 0.5984 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.657e-05/0.1782, allocations: 15.91 kB / 0.5984 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.1784, allocations: 157.6 kB / 0.5986 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.1786, allocations: 42.61 kB / 0.5986 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.1786, allocations: 0 / 0.5986 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1786, allocations: 34.66 kB / 0.5986 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.1786, allocations: 0 / 0.5986 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002082/0.1788, allocations: 61.67 kB / 0.5987 GB, free: 6.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.1789, allocations: 51.41 kB / 0.5987 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.123e-05/0.1789, allocations: 93.86 kB / 0.5988 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.1789, allocations: 25.7 kB / 0.5989 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.883e-05/0.179, allocations: 80.14 kB / 0.5989 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.179, allocations: 20.02 kB / 0.599 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.179, allocations: 0 / 0.599 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1791, allocations: 322.7 kB / 0.5993 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.522e-05/0.1792, allocations: 4 kB / 0.5993 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.1792, allocations: 7.984 kB / 0.5993 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.532e-05/0.1793, allocations: 12 kB / 0.5993 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.1793, allocations: 0 / 0.5993 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001039/0.1794, allocations: 53.61 kB / 0.5993 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1794, allocations: 4 kB / 0.5993 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1794, allocations: 4 kB / 0.5993 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.1794, allocations: 0 / 0.5993 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/0.1798, allocations: 39.94 kB / 0.5994 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.1811, allocations: 1.314 MB / 0.6007 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.1811, allocations: 0 / 0.6007 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1811, allocations: 0 / 0.6007 GB, free: 4.062 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 9.373e-05/0.1812, allocations: 117.8 kB / 0.6008 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-06/0.1813, allocations: 4.188 kB / 0.6008 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.1813, allocations: 3.5 kB / 0.6008 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1813, allocations: 0 / 0.6008 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1813, allocations: 3.984 kB / 0.6008 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1813, allocations: 336 / 0.6008 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.1814, allocations: 153.6 kB / 0.6009 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1814, allocations: 0 / 0.6009 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000359/0.1818, allocations: 51.92 kB / 0.601 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1818, allocations: 7.922 kB / 0.601 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1818, allocations: 0 / 0.601 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001249/0.1831, allocations: 1.313 MB / 0.6023 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1831, allocations: 0 / 0.6023 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/0.1832, allocations: 85.27 kB / 0.6024 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-05/0.1833, allocations: 81.09 kB / 0.6024 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.055e-06/0.1833, allocations: 0 / 0.6024 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.57e-05/0.1833, allocations: 0 / 0.6024 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.1833, allocations: 4 kB / 0.6024 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.1834, allocations: 0 / 0.6024 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.1834, allocations: 75.28 kB / 0.6025 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1834, allocations: 4 kB / 0.6025 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001973/0.1836, allocations: 8 kB / 0.6025 GB, free: 1.93 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.0004858/0.1841, allocations: 0.6085 MB / 0.6031 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004452/0.1846, allocations: 63.84 kB / 0.6032 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1846, allocations: 0 / 0.6032 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002336/0.1848, allocations: 43.94 kB / 0.6032 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000102/0.1849, allocations: 10.45 kB / 0.6032 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.1854, allocations: 120.6 kB / 0.6033 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.1857, allocations: 0.677 MB / 0.604 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.1857, allocations: 0 / 0.604 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.1858, allocations: 15.38 kB / 0.604 GB, free: 308 kB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.1858, allocations: 0 / 0.604 GB, free: 308 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2815/0.4673, allocations: 1.069 MB / 0.6051 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.4675, allocations: 228.1 kB / 0.6053 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.1, allocations: 0 / 0.6053 GB, free: 39.87 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: