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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.6867/0.6867, allocations: 127.4 MB / 134.9 MB, free: 3.719 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.001201, allocations: 192.8 kB / 164.7 MB, free: 6.512 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.577/1.577, allocations: 205.2 MB / 399.5 MB, free: 5.918 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008899/0.0008899, allocations: 86.69 kB / 476.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.056e-05, allocations: 8 kB / 0.5467 GB, free: 60.37 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.162, allocations: 76.77 MB / 0.6216 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5541/0.7162, allocations: 102 MB / 0.7212 GB, free: 13.65 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.7166, allocations: 80.75 kB / 0.7213 GB, free: 13.61 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01884/0.7354, allocations: 4.295 MB / 0.7255 GB, free: 10.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7355, allocations: 5.031 kB / 0.7255 GB, free: 10.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.7355, allocations: 0 / 0.7255 GB, free: 10.02 MB / 490.7 MB 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.0003871/0.7359, allocations: 334.4 kB / 0.7258 GB, free: 9.652 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.998e-05/0.736, allocations: 8.031 kB / 0.7258 GB, free: 9.645 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.275e-05/0.7361, allocations: 7.953 kB / 0.7258 GB, free: 9.637 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.7362, allocations: 159.1 kB / 0.726 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.7362, allocations: 0 / 0.726 GB, free: 9.441 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.7363, allocations: 4 kB / 0.726 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.177e-05/0.7363, allocations: 3.984 kB / 0.726 GB, free: 9.434 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.102e-05/0.7364, allocations: 29.7 kB / 0.726 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.7364, allocations: 0 / 0.726 GB, free: 9.398 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.7364, allocations: 3.938 kB / 0.726 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.7365, allocations: 0 / 0.726 GB, free: 9.395 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001856/0.7367, allocations: 129.7 kB / 0.7261 GB, free: 9.234 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.778e-05/0.7367, allocations: 22.55 kB / 0.7262 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.7368, allocations: 8.859 kB / 0.7262 GB, free: 9.191 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006471/0.7374, allocations: 429.1 kB / 0.7266 GB, free: 8.684 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.7375, allocations: 30.56 kB / 0.7266 GB, free: 8.645 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/0.7375, allocations: 0 / 0.7266 GB, free: 8.645 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002094/0.7377, allocations: 37.69 kB / 0.7266 GB, free: 8.602 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.7378, allocations: 51.41 kB / 0.7267 GB, free: 8.539 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.665e-05/0.7378, allocations: 88.56 kB / 0.7268 GB, free: 8.449 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.7378, allocations: 25.7 kB / 0.7268 GB, free: 8.418 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.7379, allocations: 80.14 kB / 0.7269 GB, free: 8.336 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.7379, allocations: 4 kB / 0.7269 GB, free: 8.332 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.7379, allocations: 3.938 kB / 0.7269 GB, free: 8.328 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7381, allocations: 310.8 kB / 0.7272 GB, free: 8.016 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/0.7381, allocations: 4.031 kB / 0.7272 GB, free: 8.012 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-06/0.7381, allocations: 0 / 0.7272 GB, free: 8.012 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.7382, allocations: 7.953 kB / 0.7272 GB, free: 8.004 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7382, allocations: 0 / 0.7272 GB, free: 8.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001131/0.7383, allocations: 33.69 kB / 0.7272 GB, free: 7.965 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.7384, allocations: 4 kB / 0.7272 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7384, allocations: 0 / 0.7272 GB, free: 7.961 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.7384, allocations: 4 kB / 0.7272 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.293e-05/0.7385, allocations: 0 / 0.7272 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.7385, allocations: 0 / 0.7272 GB, free: 7.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.428e-05/0.7385, allocations: 4.094 kB / 0.7272 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.7385, allocations: 0 / 0.7272 GB, free: 7.953 MB / 490.7 MB 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 () * 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 9.669e-05/0.7386, allocations: 112.9 kB / 0.7273 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.202e-05/0.7387, allocations: 37.27 kB / 0.7274 GB, free: 7.797 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.7388, allocations: 4.766 kB / 0.7274 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.7389, allocations: 41.44 kB / 0.7274 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7389, allocations: 0 / 0.7274 GB, free: 7.75 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.739, allocations: 4.062 kB / 0.7274 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.739, allocations: 0 / 0.7274 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001084/0.7391, allocations: 130.2 kB / 0.7276 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7391, allocations: 0 / 0.7276 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.842e-05/0.7391, allocations: 4 kB / 0.7276 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7391, allocations: 0 / 0.7276 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.7392, allocations: 0 / 0.7276 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.7392, allocations: 4 kB / 0.7276 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.7392, allocations: 3.938 kB / 0.7276 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.7393, allocations: 72.47 kB / 0.7276 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.508e-05/0.7394, allocations: 85 kB / 0.7277 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.7394, allocations: 0 / 0.7277 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.038e-05/0.7394, allocations: 0 / 0.7277 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.171e-05/0.7395, allocations: 0 / 0.7277 GB, free: 7.383 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.7395, allocations: 0 / 0.7277 GB, free: 7.383 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.401e-05/0.7395, allocations: 79.28 kB / 0.7278 GB, free: 7.305 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.7395, allocations: 0 / 0.7278 GB, free: 7.305 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003263/0.7399, allocations: 15.94 kB / 0.7278 GB, free: 7.289 MB / 490.7 MB 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 () * 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.0005501/0.7404, allocations: 0.6125 MB / 0.7284 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.959e-05/0.7405, allocations: 4 kB / 0.7284 GB, free: 6.645 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7405, allocations: 0 / 0.7284 GB, free: 6.645 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.031e-05/0.7405, allocations: 4 kB / 0.7284 GB, free: 6.641 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.7407, allocations: 6.969 kB / 0.7284 GB, free: 6.637 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003421/0.741, allocations: 81.28 kB / 0.7285 GB, free: 6.523 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.7413, allocations: 0.6806 MB / 0.7292 GB, free: 5.816 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.3e-05/0.7414, allocations: 0 / 0.7292 GB, free: 5.816 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.016e-05/0.7414, allocations: 7.438 kB / 0.7292 GB, free: 5.809 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7414, allocations: 0 / 0.7292 GB, free: 5.809 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.7631, allocations: 0.6784 MB / 0.7298 GB, free: 5.133 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002517/0.7634, allocations: 157.4 kB / 0.73 GB, free: 4.941 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.339/2.102, allocations: 4 kB / 0.73 GB, free: 4.938 MB / 490.7 MB (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)