Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",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.001062/0.001062, allocations: 99.7 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.001052/0.001052, 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.4/1.4, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.027/1.027, allocations: 143.3 MB / 434.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003194/0.0003194, allocations: 12 kB / 0.5159 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1752, allocations: 83.41 MB / 0.5974 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0006845/0.176, allocations: 303.1 kB / 0.5977 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005449/0.1765, allocations: 311.2 kB / 0.598 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.015e-05/0.1765, allocations: 0 / 0.598 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.488e-06/0.1766, allocations: 0 / 0.598 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.669e-06/0.1766, allocations: 4 kB / 0.598 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1769, allocations: 71.73 kB / 0.598 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.894e-05/0.1769, allocations: 0 / 0.598 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.36e-05/0.177, allocations: 3.984 kB / 0.598 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.277e-05/0.177, allocations: 0 / 0.598 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.196e-05/0.177, allocations: 0 / 0.598 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.177, allocations: 0 / 0.598 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000371/0.1774, allocations: 259.7 kB / 0.5983 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.664e-06/0.1774, allocations: 7.984 kB / 0.5983 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.1775, allocations: 25.7 kB / 0.5983 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001157/0.1776, allocations: 55.91 kB / 0.5984 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.1776, allocations: 0 / 0.5984 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1776, allocations: 0 / 0.5984 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.1776, allocations: 0 / 0.5984 GB, free: 6.75 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003234/0.1779, allocations: 331.4 kB / 0.5987 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.178, allocations: 8.031 kB / 0.5987 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.178, allocations: 30.56 kB / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.1781, allocations: 0 / 0.5987 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.141e-05/0.1781, allocations: 171 kB / 0.5989 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1782, allocations: 3.938 kB / 0.5989 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1782, allocations: 4 kB / 0.5989 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.1783, allocations: 33.64 kB / 0.5989 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.1783, allocations: 0 / 0.5989 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.1783, allocations: 0 / 0.5989 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1783, allocations: 0 / 0.5989 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.1783, allocations: 4 kB / 0.5989 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.1785, allocations: 145.6 kB / 0.5991 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.398e-05/0.1785, allocations: 18.67 kB / 0.5991 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004865/0.179, allocations: 429.5 kB / 0.5995 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.179, allocations: 38.5 kB / 0.5995 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.179, allocations: 3.984 kB / 0.5995 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001315/0.1792, allocations: 37.7 kB / 0.5996 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.1792, allocations: 51.41 kB / 0.5996 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.339e-05/0.1792, allocations: 89.86 kB / 0.5997 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.1793, allocations: 25.7 kB / 0.5997 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.891e-05/0.1793, allocations: 80.14 kB / 0.5998 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1793, allocations: 3.906 kB / 0.5998 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-06/0.1793, allocations: 4 kB / 0.5998 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1795, allocations: 318.9 kB / 0.6001 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-06/0.1795, allocations: 7.984 kB / 0.6001 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/0.1795, allocations: 0 / 0.6001 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.1795, allocations: 11.94 kB / 0.6001 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.1795, allocations: 0 / 0.6001 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.798e-05/0.1796, allocations: 29.7 kB / 0.6002 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.1796, allocations: 4 kB / 0.6002 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1796, allocations: 0 / 0.6002 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1796, allocations: 4 kB / 0.6002 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.912e-05/0.1797, allocations: 0 / 0.6002 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1797, allocations: 4.094 kB / 0.6002 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-06/0.1797, allocations: 0 / 0.6002 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1797, allocations: 0 / 0.6002 GB, free: 4.582 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 (1): * Single equations (assignments): 1 * 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 0.0001302/0.1798, allocations: 117.8 kB / 0.6003 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.979e-05/0.1799, allocations: 0 / 0.6003 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.36e-05/0.18, allocations: 44.7 kB / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.18, allocations: 0 / 0.6003 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.18, allocations: 4.031 kB / 0.6003 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.18, allocations: 4 kB / 0.6003 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.1801, allocations: 149.9 kB / 0.6005 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1801, allocations: 0 / 0.6005 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.124e-05/0.1801, allocations: 0 / 0.6005 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1802, allocations: 0 / 0.6005 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-06/0.1802, allocations: 4 kB / 0.6005 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1802, allocations: 0 / 0.6005 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1802, allocations: 0 / 0.6005 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.199e-05/0.1803, allocations: 61.12 kB / 0.6005 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.1803, allocations: 89 kB / 0.6006 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1803, allocations: 4 kB / 0.6006 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.434e-06/0.1803, allocations: 0 / 0.6006 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.1804, allocations: 0 / 0.6006 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-06/0.1804, allocations: 0 / 0.6006 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.787e-05/0.1804, allocations: 79.23 kB / 0.6007 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 0 / 0.6007 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002006/0.1806, allocations: 15.94 kB / 0.6007 GB, free: 3.926 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 (1): * Single equations (assignments): 1 * 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.0004875/0.1811, allocations: 0.6086 MB / 0.6013 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.535e-05/0.1812, allocations: 7.938 kB / 0.6013 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1812, allocations: 0 / 0.6013 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.214e-06/0.1812, allocations: 4 kB / 0.6013 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.469e-05/0.1813, allocations: 12.09 kB / 0.6013 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002674/0.1815, allocations: 112.3 kB / 0.6014 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.1818, allocations: 0.6692 MB / 0.6021 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.1818, allocations: 4 kB / 0.6021 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.322e-05/0.1819, allocations: 7.438 kB / 0.6021 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1819, allocations: 0 / 0.6021 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.193, allocations: 0.9922 MB / 0.6031 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/0.1934, allocations: 205.8 kB / 0.6033 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.838, allocations: 0 / 0.6033 GB, free: 1.344 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: