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.6987/0.6987, allocations: 127.3 MB / 139.8 MB, free: 15.52 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.001252/0.001252, allocations: 176.8 kB / 169.7 MB, free: 1.754 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.854/1.854, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.001129/0.001129, allocations: 89 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.678e-05, allocations: 4 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1889, allocations: 76.76 MB / 0.6283 GB, free: 9.906 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5822/0.7711, allocations: 102.5 MB / 0.7283 GB, free: 10.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.7714, allocations: 76.52 kB / 0.7284 GB, free: 10.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01209/0.7835, allocations: 4.31 MB / 0.7326 GB, free: 7.199 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7836, allocations: 4 kB / 0.7326 GB, free: 7.195 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.7836, allocations: 0 / 0.7326 GB, free: 7.195 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.0004054/0.784, allocations: 334.5 kB / 0.733 GB, free: 6.824 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.875e-05/0.7841, allocations: 12.03 kB / 0.733 GB, free: 6.812 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.709e-05/0.7842, allocations: 34.56 kB / 0.733 GB, free: 6.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.815e-05/0.7843, allocations: 3.953 kB / 0.733 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.7844, allocations: 162.3 kB / 0.7332 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.7844, allocations: 0 / 0.7332 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.7845, allocations: 0 / 0.7332 GB, free: 6.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.7846, allocations: 33.64 kB / 0.7332 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.7846, allocations: 0 / 0.7332 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.7846, allocations: 0 / 0.7332 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.7847, allocations: 0 / 0.7332 GB, free: 6.531 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.162e-05/0.7847, allocations: 7.953 kB / 0.7332 GB, free: 6.523 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.7849, allocations: 152.6 kB / 0.7333 GB, free: 6.328 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.992e-05/0.7849, allocations: 14.58 kB / 0.7334 GB, free: 6.305 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.076e-05/0.785, allocations: 4.859 kB / 0.7334 GB, free: 6.297 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005764/0.7856, allocations: 436.9 kB / 0.7338 GB, free: 5.781 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.7856, allocations: 30.56 kB / 0.7338 GB, free: 5.742 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.7856, allocations: 0 / 0.7338 GB, free: 5.742 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001773/0.7858, allocations: 36.77 kB / 0.7338 GB, free: 5.703 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.7859, allocations: 51.41 kB / 0.7339 GB, free: 5.641 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.7859, allocations: 85 kB / 0.734 GB, free: 5.551 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.786, allocations: 25.7 kB / 0.734 GB, free: 5.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.437e-05/0.786, allocations: 88.11 kB / 0.7341 GB, free: 5.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.656e-05/0.786, allocations: 7.969 kB / 0.7341 GB, free: 5.422 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.7861, allocations: 0 / 0.7341 GB, free: 5.422 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.7862, allocations: 314.8 kB / 0.7344 GB, free: 5.105 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.7863, allocations: 4 kB / 0.7344 GB, free: 5.102 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.729e-06/0.7863, allocations: 0 / 0.7344 GB, free: 5.102 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.076e-05/0.7863, allocations: 3.938 kB / 0.7344 GB, free: 5.098 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7863, allocations: 0 / 0.7344 GB, free: 5.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.422e-05/0.7864, allocations: 36.95 kB / 0.7344 GB, free: 5.059 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.7864, allocations: 8.031 kB / 0.7344 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7864, allocations: 0 / 0.7344 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.7865, allocations: 0 / 0.7344 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.603e-05/0.7865, allocations: 7.984 kB / 0.7344 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.7865, allocations: 0 / 0.7344 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.7866, allocations: 0 / 0.7344 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.7866, allocations: 0 / 0.7344 GB, free: 5.043 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 7.138e-05/0.7867, allocations: 104.9 kB / 0.7345 GB, free: 4.934 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.7867, allocations: 4 kB / 0.7345 GB, free: 4.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.7868, allocations: 44.36 kB / 0.7346 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.7868, allocations: 0 / 0.7346 GB, free: 4.887 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.7868, allocations: 3.984 kB / 0.7346 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.7868, allocations: 0 / 0.7346 GB, free: 4.883 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.7869, allocations: 145.6 kB / 0.7347 GB, free: 4.691 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.787, allocations: 8 kB / 0.7347 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.064e-05/0.787, allocations: 0 / 0.7347 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.787, allocations: 0 / 0.7347 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.787, allocations: 0 / 0.7347 GB, free: 4.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.787, allocations: 4.031 kB / 0.7347 GB, free: 4.68 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.787, allocations: 3.938 kB / 0.7347 GB, free: 4.676 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000102/0.7871, allocations: 68 kB / 0.7348 GB, free: 4.594 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.7872, allocations: 77.11 kB / 0.7349 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.7872, allocations: 3.938 kB / 0.7349 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-06/0.7872, allocations: 4 kB / 0.7349 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.413e-05/0.7872, allocations: 0 / 0.7349 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.7872, allocations: 32 / 0.7349 GB, free: 4.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.816e-05/0.7873, allocations: 79.28 kB / 0.735 GB, free: 4.414 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7873, allocations: 0 / 0.735 GB, free: 4.414 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.7875, allocations: 23.17 kB / 0.735 GB, free: 4.395 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.0005064/0.788, allocations: 0.6162 MB / 0.7356 GB, free: 3.754 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.7881, allocations: 11.97 kB / 0.7356 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.7881, allocations: 0 / 0.7356 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.671e-06/0.7881, allocations: 0 / 0.7356 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.7882, allocations: 3.938 kB / 0.7356 GB, free: 3.738 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.7885, allocations: 85.95 kB / 0.7357 GB, free: 3.621 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.7889, allocations: 0.6731 MB / 0.7363 GB, free: 2.922 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.075e-05/0.7889, allocations: 0.5469 kB / 0.7364 GB, free: 2.922 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.777e-05/0.7889, allocations: 11.56 kB / 0.7364 GB, free: 2.91 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7889, allocations: 0 / 0.7364 GB, free: 2.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01248/0.8014, allocations: 0.9818 MB / 0.7373 GB, free: 2.055 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.8017, allocations: 175.7 kB / 0.7375 GB, free: 1.824 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.577/2.379, allocations: 0 / 0.7375 GB, free: 1.824 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)