Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.001316/0.001316, allocations: 100.1 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.001618/0.001618, allocations: 177.3 kB / 15.95 MB, free: 216 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.435/1.435, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.107/1.107, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000586/0.0005866, allocations: 8 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1982, allocations: 83.41 MB / 0.5974 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001414/0.1997, allocations: 1.14 MB / 0.5985 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006458/0.2004, allocations: 375.9 kB / 0.5988 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.282e-05/0.2004, allocations: 0 / 0.5988 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.15e-05/0.2004, allocations: 0 / 0.5988 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.2005, allocations: 7.922 kB / 0.5988 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.2007, allocations: 67.78 kB / 0.5989 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.792e-05/0.2008, allocations: 19.97 kB / 0.5989 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.329e-05/0.2009, allocations: 0 / 0.5989 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.316e-05/0.2009, allocations: 15.98 kB / 0.5989 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.245e-05/0.201, allocations: 7.938 kB / 0.5989 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.201, allocations: 0 / 0.5989 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.2013, allocations: 263.6 kB / 0.5992 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.2013, allocations: 4 kB / 0.5992 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.2014, allocations: 29.64 kB / 0.5992 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.2015, allocations: 71.86 kB / 0.5993 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.2015, allocations: 3.938 kB / 0.5993 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2015, allocations: 0 / 0.5993 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.2015, allocations: 0 / 0.5993 GB, free: 5.711 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.000401/0.2019, allocations: 371.5 kB / 0.5996 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2019, allocations: 8.031 kB / 0.5997 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.064e-05/0.202, allocations: 34.55 kB / 0.5997 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.077e-05/0.202, allocations: 4 kB / 0.5997 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2021, allocations: 163 kB / 0.5998 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2022, allocations: 4 kB / 0.5999 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-06/0.2022, allocations: 0 / 0.5999 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.2023, allocations: 57.67 kB / 0.5999 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.2024, allocations: 0 / 0.5999 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.2024, allocations: 3.938 kB / 0.5999 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.2024, allocations: 0 / 0.5999 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.2025, allocations: 47.95 kB / 0.6 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002907/0.2028, allocations: 256.8 kB / 0.6002 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.203, allocations: 42.55 kB / 0.6002 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/0.2036, allocations: 461.5 kB / 0.6007 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.2036, allocations: 34.5 kB / 0.6007 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2037, allocations: 4 kB / 0.6007 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003942/0.2041, allocations: 97.64 kB / 0.6008 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.2041, allocations: 55.53 kB / 0.6009 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.531e-05/0.2042, allocations: 109.8 kB / 0.601 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2042, allocations: 25.7 kB / 0.601 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.2042, allocations: 84.14 kB / 0.6011 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.593e-05/0.2042, allocations: 11.84 kB / 0.6011 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.2043, allocations: 0 / 0.6011 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.112e-05/0.2043, allocations: 322.8 kB / 0.6014 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.763e-05/0.2044, allocations: 23.98 kB / 0.6014 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.937e-05/0.2045, allocations: 19.98 kB / 0.6014 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.225e-05/0.2046, allocations: 19.98 kB / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2046, allocations: 7.875 kB / 0.6015 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002068/0.2048, allocations: 81.72 kB / 0.6015 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.2049, allocations: 8 kB / 0.6015 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.2049, allocations: 0 / 0.6015 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.2049, allocations: 0 / 0.6015 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.205, allocations: 16.02 kB / 0.6016 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.205, allocations: 4.234 kB / 0.6016 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.961e-05/0.205, allocations: 15.94 kB / 0.6016 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.2051, allocations: 4 kB / 0.6016 GB, free: 3.047 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.217e-05/0.2051, allocations: 105.8 kB / 0.6017 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.2052, allocations: 11.89 kB / 0.6017 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.2054, allocations: 89.12 kB / 0.6018 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.2054, allocations: 0 / 0.6018 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2054, allocations: 0 / 0.6018 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2054, allocations: 0 / 0.6018 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.2056, allocations: 165.6 kB / 0.6019 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.2056, allocations: 0 / 0.6019 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.2057, allocations: 16.02 kB / 0.602 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2057, allocations: 0 / 0.602 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.2057, allocations: 4 kB / 0.602 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2057, allocations: 0 / 0.602 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2057, allocations: 0 / 0.602 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.206, allocations: 179.4 kB / 0.6021 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.206, allocations: 77.11 kB / 0.6022 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.18e-05/0.206, allocations: 0 / 0.6022 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.2061, allocations: 15.98 kB / 0.6022 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.2062, allocations: 0 / 0.6022 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2062, allocations: 0 / 0.6022 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.2062, allocations: 91.3 kB / 0.6023 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2062, allocations: 0 / 0.6023 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002338/0.2065, allocations: 19.91 kB / 0.6023 GB, free: 2.184 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 (2): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005353/0.207, allocations: 0.7124 MB / 0.603 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.2072, allocations: 51.89 kB / 0.6031 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2072, allocations: 4.094 kB / 0.6031 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.2073, allocations: 23.98 kB / 0.6031 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.2075, allocations: 7.875 kB / 0.6031 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.2079, allocations: 142.4 kB / 0.6032 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.2081, allocations: 0.6888 MB / 0.6039 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.105e-05/0.2081, allocations: 0 / 0.6039 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.162e-05/0.2082, allocations: 19.38 kB / 0.6039 GB, free: 460 kB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.2082, allocations: 0 / 0.6039 GB, free: 460 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.301/0.5092, allocations: 1.32 MB / 0.6052 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000148/0.5094, allocations: 185.8 kB / 0.6054 GB, free: 40.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.184, allocations: 3.469 kB / 0.6054 GB, free: 40.02 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) Environment - environmentSimulation: