Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 175.4 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5649/0.5649, allocations: 90.91 MB / 99.34 MB, free: 2.133 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.667/1.667, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 91.83 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.112e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 72.32 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.538/0.7141, allocations: 100.7 MB / 0.652 GB, free: 9.59 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.7144, allocations: 82.59 kB / 0.6521 GB, free: 9.543 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0111/0.7255, allocations: 4.033 MB / 0.656 GB, free: 6.184 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.7256, allocations: 0 / 0.656 GB, free: 6.184 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.7256, allocations: 0 / 0.656 GB, free: 6.184 MB / 458.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.000324/0.7259, allocations: 337.8 kB / 0.6563 GB, free: 5.812 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.726, allocations: 12.03 kB / 0.6563 GB, free: 5.801 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.726, allocations: 7.953 kB / 0.6563 GB, free: 5.793 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.7261, allocations: 163.1 kB / 0.6565 GB, free: 5.594 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.7262, allocations: 4 kB / 0.6565 GB, free: 5.59 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.7262, allocations: 0 / 0.6565 GB, free: 5.59 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.842e-05/0.7262, allocations: 7.938 kB / 0.6565 GB, free: 5.582 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.434e-05/0.7263, allocations: 25.7 kB / 0.6565 GB, free: 5.551 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7263, allocations: 3.938 kB / 0.6565 GB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.7263, allocations: 0 / 0.6565 GB, free: 5.547 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.7263, allocations: 3.953 kB / 0.6565 GB, free: 5.543 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.7265, allocations: 130.1 kB / 0.6567 GB, free: 5.383 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.7265, allocations: 22.56 kB / 0.6567 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.409e-05/0.7265, allocations: 4.859 kB / 0.6567 GB, free: 5.344 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004581/0.727, allocations: 429.1 kB / 0.6571 GB, free: 4.836 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.727, allocations: 30.56 kB / 0.6571 GB, free: 4.797 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.7271, allocations: 0.75 kB / 0.6571 GB, free: 4.797 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.7272, allocations: 37.64 kB / 0.6572 GB, free: 4.754 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.7273, allocations: 51.41 kB / 0.6572 GB, free: 4.691 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.41e-05/0.7273, allocations: 91.38 kB / 0.6573 GB, free: 4.598 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.7273, allocations: 25.7 kB / 0.6573 GB, free: 4.566 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.7273, allocations: 80.14 kB / 0.6574 GB, free: 4.484 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.7274, allocations: 3.906 kB / 0.6574 GB, free: 4.48 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-06/0.7274, allocations: 0 / 0.6574 GB, free: 4.48 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.7275, allocations: 318.7 kB / 0.6577 GB, free: 4.16 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-06/0.7275, allocations: 4.031 kB / 0.6577 GB, free: 4.156 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.7275, allocations: 4 kB / 0.6577 GB, free: 4.152 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.7276, allocations: 3.984 kB / 0.6577 GB, free: 4.148 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7276, allocations: 0 / 0.6577 GB, free: 4.148 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.272e-05/0.7276, allocations: 32.95 kB / 0.6577 GB, free: 4.113 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.7277, allocations: 9.094 kB / 0.6578 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7277, allocations: 0 / 0.6578 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7277, allocations: 3.938 kB / 0.6578 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.184e-05/0.7277, allocations: 0 / 0.6578 GB, free: 4.102 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.7278, allocations: 4.094 kB / 0.6578 GB, free: 4.098 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-06/0.7278, allocations: 4 kB / 0.6578 GB, free: 4.094 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.7278, allocations: 0 / 0.6578 GB, free: 4.094 MB / 458.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 6.296e-05/0.7279, allocations: 104.9 kB / 0.6579 GB, free: 3.984 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.38e-05/0.7279, allocations: 33.69 kB / 0.6579 GB, free: 3.945 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.7279, allocations: 7.984 kB / 0.6579 GB, free: 3.938 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.465e-05/0.728, allocations: 37.39 kB / 0.6579 GB, free: 3.898 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.728, allocations: 4.062 kB / 0.6579 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7281, allocations: 7.922 kB / 0.6579 GB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.7281, allocations: 0 / 0.6579 GB, free: 3.887 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.426e-05/0.7281, allocations: 129.6 kB / 0.6581 GB, free: 3.727 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.7282, allocations: 4 kB / 0.6581 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.7282, allocations: 0 / 0.6581 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.7282, allocations: 0 / 0.6581 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.7282, allocations: 0 / 0.6581 GB, free: 3.723 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7282, allocations: 4 kB / 0.6581 GB, free: 3.719 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.7282, allocations: 0 / 0.6581 GB, free: 3.719 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.452e-05/0.7283, allocations: 65.08 kB / 0.6581 GB, free: 3.637 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.7283, allocations: 80.48 kB / 0.6582 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.7284, allocations: 0 / 0.6582 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.791e-06/0.7284, allocations: 0 / 0.6582 GB, free: 3.543 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.173e-05/0.7284, allocations: 4 kB / 0.6582 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.7284, allocations: 0 / 0.6582 GB, free: 3.539 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.051e-05/0.7284, allocations: 75.28 kB / 0.6583 GB, free: 3.465 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7284, allocations: 0 / 0.6583 GB, free: 3.465 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.7286, allocations: 23.95 kB / 0.6583 GB, free: 3.441 MB / 458.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.0004209/0.7291, allocations: 0.6079 MB / 0.6589 GB, free: 2.805 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.095e-05/0.7291, allocations: 4 kB / 0.6589 GB, free: 2.801 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7291, allocations: 0 / 0.6589 GB, free: 2.801 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.7291, allocations: 8.094 kB / 0.6589 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.493e-05/0.7292, allocations: 3.938 kB / 0.6589 GB, free: 2.789 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002417/0.7295, allocations: 81.55 kB / 0.659 GB, free: 2.672 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.7297, allocations: 0.6729 MB / 0.6597 GB, free: 1.973 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.724e-05/0.7297, allocations: 4 kB / 0.6597 GB, free: 1.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.71e-05/0.7298, allocations: 7.438 kB / 0.6597 GB, free: 1.961 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/0.7298, allocations: 0 / 0.6597 GB, free: 1.961 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.7482, allocations: 0.6683 MB / 0.6603 GB, free: 1.301 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/0.7485, allocations: 150.9 kB / 0.6605 GB, free: 1.102 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.321, allocations: 0 / 0.6605 GB, free: 1.102 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPower.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)