Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.00117/0.00117, allocations: 178.3 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.5066/0.5066, allocations: 90.91 MB / 99.34 MB, free: 2.164 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.563/1.563, allocations: 221.5 MB / 343.2 MB, free: 1.602 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.0008963/0.0008963, allocations: 95.81 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.982e-05/1.984e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1556, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5876/0.7433, allocations: 100.8 MB / 0.6521 GB, free: 9.504 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.7436, allocations: 76.58 kB / 0.6522 GB, free: 9.461 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01301/0.7566, allocations: 4.559 MB / 0.6566 GB, free: 5.672 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.7567, allocations: 0 / 0.6566 GB, free: 5.672 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.7567, allocations: 4 kB / 0.6566 GB, free: 5.668 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004012/0.7571, allocations: 346.4 kB / 0.657 GB, free: 5.289 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.7572, allocations: 15.97 kB / 0.657 GB, free: 5.273 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.7573, allocations: 7.859 kB / 0.657 GB, free: 5.266 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.7575, allocations: 163.1 kB / 0.6571 GB, free: 5.066 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.7575, allocations: 3.938 kB / 0.6571 GB, free: 5.062 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.7575, allocations: 7.984 kB / 0.6571 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.135e-05/0.7576, allocations: 0 / 0.6571 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.545e-05/0.7577, allocations: 40.52 kB / 0.6572 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.7577, allocations: 0 / 0.6572 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.7577, allocations: 0 / 0.6572 GB, free: 5.012 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.7577, allocations: 3.953 kB / 0.6572 GB, free: 5.008 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001712/0.7579, allocations: 132.8 kB / 0.6573 GB, free: 4.844 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.062e-05/0.758, allocations: 18.61 kB / 0.6573 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.268e-05/0.758, allocations: 8.922 kB / 0.6573 GB, free: 4.805 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/0.7587, allocations: 460.5 kB / 0.6578 GB, free: 4.266 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.7587, allocations: 34.56 kB / 0.6578 GB, free: 4.223 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.7587, allocations: 4 kB / 0.6578 GB, free: 4.219 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0006229/0.7593, allocations: 236.4 kB / 0.658 GB, free: 3.941 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.7594, allocations: 51.41 kB / 0.6581 GB, free: 3.879 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.7595, allocations: 92.98 kB / 0.6582 GB, free: 3.781 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.7595, allocations: 25.7 kB / 0.6582 GB, free: 3.75 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.7595, allocations: 82.64 kB / 0.6583 GB, free: 3.668 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.7596, allocations: 16.06 kB / 0.6583 GB, free: 3.652 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.7596, allocations: 0 / 0.6583 GB, free: 3.652 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7597, allocations: 318.1 kB / 0.6586 GB, free: 3.336 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.7597, allocations: 4 kB / 0.6586 GB, free: 3.332 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.119e-05/0.7598, allocations: 20.72 kB / 0.6586 GB, free: 3.309 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.258e-05/0.7598, allocations: 7.984 kB / 0.6586 GB, free: 3.301 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.7598, allocations: 0 / 0.6586 GB, free: 3.301 MB / 458.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000104/0.7599, allocations: 48.77 kB / 0.6587 GB, free: 3.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.76, allocations: 4 kB / 0.6587 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.76, allocations: 0 / 0.6587 GB, free: 3.246 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.76, allocations: 7.984 kB / 0.6587 GB, free: 3.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.7601, allocations: 4 kB / 0.6587 GB, free: 3.234 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7601, allocations: 3.938 kB / 0.6587 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.791e-05/0.7601, allocations: 0 / 0.6587 GB, free: 3.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.7601, allocations: 4 kB / 0.6587 GB, free: 3.227 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.562e-05/0.7602, allocations: 104.9 kB / 0.6588 GB, free: 3.117 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.649e-05/0.7603, allocations: 52.75 kB / 0.6589 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.7603, allocations: 3.906 kB / 0.6589 GB, free: 3.059 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.7605, allocations: 53.06 kB / 0.6589 GB, free: 3.004 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.7605, allocations: 4 kB / 0.6589 GB, free: 3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7605, allocations: 0 / 0.6589 GB, free: 3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7605, allocations: 7.922 kB / 0.6589 GB, free: 2.992 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.7606, allocations: 133.3 kB / 0.659 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7607, allocations: 0 / 0.659 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.164e-05/0.7607, allocations: 15.98 kB / 0.6591 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7607, allocations: 0 / 0.6591 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.495e-06/0.7608, allocations: 0 / 0.6591 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.7608, allocations: 0 / 0.6591 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7608, allocations: 0 / 0.6591 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001653/0.7609, allocations: 83.58 kB / 0.6591 GB, free: 2.719 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.761, allocations: 77.11 kB / 0.6592 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.761, allocations: 0 / 0.6592 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.761, allocations: 64 / 0.6592 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.7611, allocations: 11.98 kB / 0.6592 GB, free: 2.613 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.7611, allocations: 0 / 0.6592 GB, free: 2.613 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.399e-05/0.7611, allocations: 75.28 kB / 0.6593 GB, free: 2.539 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.7611, allocations: 3.938 kB / 0.6593 GB, free: 2.535 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002484/0.7614, allocations: 39.19 kB / 0.6593 GB, free: 2.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005896/0.762, allocations: 0.6501 MB / 0.66 GB, free: 1.824 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 9.181e-05/0.7621, allocations: 18.94 kB / 0.66 GB, free: 1.809 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.7621, allocations: 0 / 0.66 GB, free: 1.809 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.7621, allocations: 4 kB / 0.66 GB, free: 1.805 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.7623, allocations: 0 / 0.66 GB, free: 1.805 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.7627, allocations: 126.2 kB / 0.6601 GB, free: 1.648 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.763, allocations: 0.6807 MB / 0.6608 GB, free: 0.9414 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.763, allocations: 8.172 kB / 0.6608 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.7631, allocations: 15 kB / 0.6608 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7631, allocations: 0 / 0.6608 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02513/0.7882, allocations: 1.171 MB / 0.6619 GB, free: 15.76 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.7886, allocations: 159.4 kB / 0.6621 GB, free: 15.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.464, allocations: 4 kB / 0.6621 GB, free: 15.57 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)