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/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.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/BuildSysPro 3.5.0/package.mo): time 0.7246/0.7246, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 172.8 kB / 169.7 MB, free: 1.742 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.797/1.797, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.001065/0.001065, allocations: 87.17 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.397e-05/4.399e-05, allocations: 8 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.188, allocations: 76.76 MB / 0.6282 GB, free: 9.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6704/0.8585, allocations: 103.2 MB / 0.729 GB, free: 10.19 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.8588, allocations: 78.77 kB / 0.7291 GB, free: 10.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0134/0.8722, allocations: 4.62 MB / 0.7336 GB, free: 6.211 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.051e-06/0.8723, allocations: 0 / 0.7336 GB, free: 6.211 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.8723, allocations: 3.938 kB / 0.7336 GB, free: 6.207 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000566/0.8729, allocations: 369 kB / 0.734 GB, free: 5.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.873, allocations: 8.031 kB / 0.734 GB, free: 5.801 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.507e-05/0.873, allocations: 34.5 kB / 0.734 GB, free: 5.762 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.8731, allocations: 8.734 kB / 0.734 GB, free: 5.754 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.8733, allocations: 167 kB / 0.7342 GB, free: 5.551 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.8733, allocations: 4 kB / 0.7342 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.8733, allocations: 0 / 0.7342 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.8734, allocations: 33.45 kB / 0.7342 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8735, allocations: 0 / 0.7342 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.8735, allocations: 8 kB / 0.7342 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.8735, allocations: 0 / 0.7342 GB, free: 5.504 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.668e-05/0.8736, allocations: 18.88 kB / 0.7342 GB, free: 5.488 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005025/0.8741, allocations: 263.5 kB / 0.7345 GB, free: 5.191 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.792e-05/0.8741, allocations: 30.42 kB / 0.7345 GB, free: 5.156 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.8742, allocations: 20.36 kB / 0.7345 GB, free: 5.137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006425/0.8748, allocations: 453.5 kB / 0.735 GB, free: 4.602 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.8749, allocations: 42.5 kB / 0.735 GB, free: 4.551 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.8749, allocations: 3.938 kB / 0.735 GB, free: 4.547 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002072/0.8751, allocations: 49.22 kB / 0.735 GB, free: 4.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.8752, allocations: 51.41 kB / 0.7351 GB, free: 4.438 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.8752, allocations: 96.12 kB / 0.7352 GB, free: 4.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.8753, allocations: 29.69 kB / 0.7352 GB, free: 4.305 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.8753, allocations: 80.14 kB / 0.7353 GB, free: 4.223 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.8754, allocations: 15.62 kB / 0.7353 GB, free: 4.211 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.8754, allocations: 0 / 0.7353 GB, free: 4.211 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8755, allocations: 310.8 kB / 0.7356 GB, free: 3.898 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.8755, allocations: 7.625 kB / 0.7356 GB, free: 3.895 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.8756, allocations: 4 kB / 0.7356 GB, free: 3.891 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.8756, allocations: 3.938 kB / 0.7356 GB, free: 3.891 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8756, allocations: 4 kB / 0.7356 GB, free: 3.887 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001038/0.8757, allocations: 44.75 kB / 0.7357 GB, free: 3.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.8757, allocations: 14.75 kB / 0.7357 GB, free: 3.828 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.8758, allocations: 3.984 kB / 0.7357 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8758, allocations: 0 / 0.7357 GB, free: 3.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.711e-05/0.8759, allocations: 11.98 kB / 0.7357 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.8759, allocations: 3.953 kB / 0.7357 GB, free: 3.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.446e-05/0.876, allocations: 8 kB / 0.7357 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.876, allocations: 0 / 0.7357 GB, free: 3.801 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 (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 9.006e-05/0.8761, allocations: 109 kB / 0.7358 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.8761, allocations: 7.906 kB / 0.7358 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.8763, allocations: 53.09 kB / 0.7359 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.8763, allocations: 4 kB / 0.7359 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8763, allocations: 0 / 0.7359 GB, free: 3.629 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/0.8763, allocations: 3.953 kB / 0.7359 GB, free: 3.625 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.8765, allocations: 157.4 kB / 0.736 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8765, allocations: 0 / 0.736 GB, free: 3.426 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.8766, allocations: 16.02 kB / 0.736 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-06/0.8766, allocations: 0 / 0.736 GB, free: 3.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.8766, allocations: 7.938 kB / 0.736 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8766, allocations: 0 / 0.736 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.8766, allocations: 0 / 0.736 GB, free: 3.402 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.8768, allocations: 142.8 kB / 0.7362 GB, free: 3.254 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.8769, allocations: 81.02 kB / 0.7363 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.8769, allocations: 0 / 0.7363 GB, free: 3.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.877, allocations: 19.95 kB / 0.7363 GB, free: 3.141 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.877, allocations: 3.938 kB / 0.7363 GB, free: 3.137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.877, allocations: 0 / 0.7363 GB, free: 3.137 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.19e-05/0.8771, allocations: 91.52 kB / 0.7364 GB, free: 3.047 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8771, allocations: 3.938 kB / 0.7364 GB, free: 3.043 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.8773, allocations: 19.5 kB / 0.7364 GB, free: 3.027 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 (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.0005243/0.8778, allocations: 0.6955 MB / 0.7371 GB, free: 2.312 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.439e-05/0.8779, allocations: 19.44 kB / 0.7371 GB, free: 2.297 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8779, allocations: 0 / 0.7371 GB, free: 2.297 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.878, allocations: 7.438 kB / 0.7371 GB, free: 2.293 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.8782, allocations: 4 kB / 0.7371 GB, free: 2.289 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.8785, allocations: 94.66 kB / 0.7372 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.8788, allocations: 0.6809 MB / 0.7379 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.553e-05/0.8788, allocations: 0 / 0.7379 GB, free: 1.457 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.8789, allocations: 14.94 kB / 0.7379 GB, free: 1.445 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.8789, allocations: 0 / 0.7379 GB, free: 1.445 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.8923, allocations: 1.315 MB / 0.7392 GB, free: 252 kB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.8926, allocations: 156.1 kB / 0.7393 GB, free: 28 kB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.436, allocations: 4.062 kB / 0.7393 GB, free: 24 kB / 490.7 MB (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)