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.0008871/0.0008872, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.001065/0.001065, allocations: 172.7 kB / 15.95 MB, free: 208 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.358/1.358, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.012/1.012, allocations: 143.4 MB / 434.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003308, allocations: 15.98 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1964, allocations: 83.41 MB / 0.5975 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.001542/0.1979, allocations: 1.151 MB / 0.5987 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006346/0.1986, allocations: 360 kB / 0.599 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.559e-05/0.1986, allocations: 8 kB / 0.599 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.1987, allocations: 0 / 0.599 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.1987, allocations: 3.938 kB / 0.599 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.199, allocations: 75.47 kB / 0.5991 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.1991, allocations: 23.92 kB / 0.5991 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.977e-05/0.1992, allocations: 4 kB / 0.5991 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.1992, allocations: 11.92 kB / 0.5991 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.781e-05/0.1993, allocations: 15.92 kB / 0.5991 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1993, allocations: 4 kB / 0.5991 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.1996, allocations: 263.7 kB / 0.5994 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.1997, allocations: 4 kB / 0.5994 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.1997, allocations: 29.7 kB / 0.5994 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1998, allocations: 67.86 kB / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1998, allocations: 0 / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1998, allocations: 0 / 0.5995 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1998, allocations: 0 / 0.5995 GB, free: 5.699 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.0004289/0.2003, allocations: 375.5 kB / 0.5999 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2003, allocations: 8.031 kB / 0.5999 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.372e-05/0.2004, allocations: 30.56 kB / 0.5999 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.2004, allocations: 8 kB / 0.5999 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2005, allocations: 167 kB / 0.6001 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.044e-06/0.2006, allocations: 3.938 kB / 0.6001 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2006, allocations: 4 kB / 0.6001 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.2007, allocations: 61.61 kB / 0.6001 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.2008, allocations: 0 / 0.6001 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.2008, allocations: 0 / 0.6001 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2008, allocations: 0 / 0.6001 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.2009, allocations: 43.95 kB / 0.6002 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.2013, allocations: 260.8 kB / 0.6004 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.2014, allocations: 46.48 kB / 0.6005 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.2015, allocations: 28.91 kB / 0.6005 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006345/0.2021, allocations: 461.5 kB / 0.6009 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2022, allocations: 38.56 kB / 0.601 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2022, allocations: 0 / 0.601 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003656/0.2025, allocations: 97.73 kB / 0.6011 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.2026, allocations: 59.34 kB / 0.6011 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/0.2027, allocations: 109.8 kB / 0.6012 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.2027, allocations: 29.7 kB / 0.6012 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.2028, allocations: 80.14 kB / 0.6013 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.2028, allocations: 11.84 kB / 0.6013 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/0.2028, allocations: 0 / 0.6013 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2029, allocations: 310.9 kB / 0.6016 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-05/0.203, allocations: 27.98 kB / 0.6017 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.776e-05/0.2031, allocations: 23.97 kB / 0.6017 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.391e-05/0.2031, allocations: 24.05 kB / 0.6017 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2032, allocations: 0 / 0.6017 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.2033, allocations: 77.66 kB / 0.6018 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.2034, allocations: 4 kB / 0.6018 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2034, allocations: 0 / 0.6018 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.2034, allocations: 4.031 kB / 0.6018 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.2035, allocations: 11.94 kB / 0.6018 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2035, allocations: 11.92 kB / 0.6018 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.3e-05/0.2036, allocations: 7.953 kB / 0.6018 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.2036, allocations: 0 / 0.6018 GB, free: 3.004 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 8.546e-05/0.2037, allocations: 113.8 kB / 0.6019 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.51e-05/0.2037, allocations: 7.906 kB / 0.6019 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.2039, allocations: 89.16 kB / 0.602 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2039, allocations: 7.984 kB / 0.602 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2039, allocations: 0 / 0.602 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.204, allocations: 0 / 0.602 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.2041, allocations: 161.7 kB / 0.6022 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2041, allocations: 3.984 kB / 0.6022 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.2042, allocations: 8 kB / 0.6022 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2042, allocations: 0 / 0.6022 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.2042, allocations: 4.25 kB / 0.6022 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.2042, allocations: 7.938 kB / 0.6022 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2042, allocations: 3.938 kB / 0.6022 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.2045, allocations: 175.5 kB / 0.6024 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.2045, allocations: 85.09 kB / 0.6025 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.2045, allocations: 0 / 0.6025 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.805e-05/0.2046, allocations: 4 kB / 0.6025 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.2047, allocations: 12.02 kB / 0.6025 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2047, allocations: 0 / 0.6025 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.2047, allocations: 83.28 kB / 0.6025 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2047, allocations: 0 / 0.6025 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002293/0.205, allocations: 15.91 kB / 0.6026 GB, free: 2.133 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.0006604/0.2056, allocations: 0.7202 MB / 0.6033 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.2058, allocations: 48 kB / 0.6033 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2059, allocations: 0 / 0.6033 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.2059, allocations: 27.97 kB / 0.6033 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002731/0.2062, allocations: 4 kB / 0.6033 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.2067, allocations: 154.4 kB / 0.6035 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.2069, allocations: 0.677 MB / 0.6041 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.207, allocations: 4 kB / 0.6042 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.207, allocations: 11.44 kB / 0.6042 GB, free: 412 kB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.207, allocations: 0 / 0.6042 GB, free: 412 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2967/0.5037, allocations: 1.337 MB / 0.6055 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001248/0.5039, allocations: 192.3 kB / 0.6057 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.172, allocations: 0 / 0.6057 GB, free: 39.83 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: