Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.7103/0.7103, allocations: 127.4 MB / 134.9 MB, free: 3.73 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.000991/0.000991, allocations: 176.9 kB / 164.7 MB, free: 6.527 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.619/1.619, allocations: 205.2 MB / 399.5 MB, free: 5.863 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.0009167/0.0009168, allocations: 86.91 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.135e-05/2.129e-05, allocations: 8 kB / 0.5467 GB, free: 60.37 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1663, allocations: 76.76 MB / 0.6216 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5545/0.7209, allocations: 102.1 MB / 0.7213 GB, free: 13.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.7212, allocations: 75.39 kB / 0.7214 GB, free: 13.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01429/0.7355, allocations: 4.861 MB / 0.7261 GB, free: 9.469 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.7356, allocations: 0 / 0.7261 GB, free: 9.469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.7356, allocations: 3.938 kB / 0.7262 GB, free: 9.465 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003581/0.736, allocations: 350.4 kB / 0.7265 GB, free: 9.078 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.736, allocations: 12.03 kB / 0.7265 GB, free: 9.066 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.7361, allocations: 7.953 kB / 0.7265 GB, free: 9.059 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.7362, allocations: 166.3 kB / 0.7267 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.7362, allocations: 0 / 0.7267 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.7362, allocations: 0 / 0.7267 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.847e-05/0.7363, allocations: 7.938 kB / 0.7267 GB, free: 8.852 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.361e-05/0.7364, allocations: 29.7 kB / 0.7267 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.7364, allocations: 3.984 kB / 0.7267 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.7364, allocations: 0 / 0.7267 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.7364, allocations: 0 / 0.7267 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.7366, allocations: 149.6 kB / 0.7268 GB, free: 8.633 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.258e-05/0.7366, allocations: 18.61 kB / 0.7269 GB, free: 8.605 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.7366, allocations: 4.859 kB / 0.7269 GB, free: 8.598 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005899/0.7372, allocations: 465.1 kB / 0.7273 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.7373, allocations: 30.56 kB / 0.7273 GB, free: 8.016 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.7373, allocations: 0 / 0.7273 GB, free: 8.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0005311/0.7378, allocations: 242.9 kB / 0.7276 GB, free: 7.73 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.7379, allocations: 59.39 kB / 0.7276 GB, free: 7.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.544e-05/0.7379, allocations: 88.69 kB / 0.7277 GB, free: 7.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.7379, allocations: 25.7 kB / 0.7277 GB, free: 7.539 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.738, allocations: 84.14 kB / 0.7278 GB, free: 7.453 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.738, allocations: 3.906 kB / 0.7278 GB, free: 7.449 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.738, allocations: 0 / 0.7278 GB, free: 7.449 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.7381, allocations: 318.2 kB / 0.7281 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.7381, allocations: 4.125 kB / 0.7281 GB, free: 7.129 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.7382, allocations: 25.08 kB / 0.7282 GB, free: 7.102 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.212e-05/0.7382, allocations: 4 kB / 0.7282 GB, free: 7.098 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.7382, allocations: 0 / 0.7282 GB, free: 7.098 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001161/0.7383, allocations: 53.31 kB / 0.7282 GB, free: 7.043 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.7384, allocations: 8 kB / 0.7282 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.7384, allocations: 0 / 0.7282 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.7384, allocations: 0 / 0.7282 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.633e-05/0.7385, allocations: 8.062 kB / 0.7282 GB, free: 7.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.888e-06/0.7385, allocations: 4 kB / 0.7282 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.7385, allocations: 0 / 0.7282 GB, free: 7.023 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.7385, allocations: 0 / 0.7282 GB, free: 7.023 MB / 490.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 6.743e-05/0.7386, allocations: 113.3 kB / 0.7283 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.077e-05/0.7387, allocations: 45.09 kB / 0.7284 GB, free: 6.859 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.7387, allocations: 4 kB / 0.7284 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.7389, allocations: 68.92 kB / 0.7284 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7389, allocations: 0 / 0.7284 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7389, allocations: 0 / 0.7284 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7389, allocations: 0 / 0.7284 GB, free: 6.785 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.458e-05/0.739, allocations: 134.2 kB / 0.7286 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.739, allocations: 0 / 0.7286 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.296e-05/0.739, allocations: 7.938 kB / 0.7286 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.739, allocations: 0 / 0.7286 GB, free: 6.609 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.7391, allocations: 4 kB / 0.7286 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.7391, allocations: 0 / 0.7286 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7391, allocations: 0 / 0.7286 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/0.7392, allocations: 79.45 kB / 0.7287 GB, free: 6.516 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.332e-05/0.7393, allocations: 81.02 kB / 0.7287 GB, free: 6.418 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.7393, allocations: 3.984 kB / 0.7287 GB, free: 6.414 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.789e-05/0.7393, allocations: 7.219 kB / 0.7288 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.7394, allocations: 288 / 0.7288 GB, free: 6.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.7394, allocations: 0 / 0.7288 GB, free: 6.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.238e-05/0.7394, allocations: 79.34 kB / 0.7288 GB, free: 6.332 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7394, allocations: 4.094 kB / 0.7288 GB, free: 6.328 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002114/0.7396, allocations: 27.94 kB / 0.7289 GB, free: 6.301 MB / 490.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.0004733/0.7401, allocations: 0.6562 MB / 0.7295 GB, free: 5.621 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.885e-05/0.7402, allocations: 12 kB / 0.7295 GB, free: 5.609 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7402, allocations: 3 kB / 0.7295 GB, free: 5.609 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.7402, allocations: 11.94 kB / 0.7295 GB, free: 5.598 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/0.7403, allocations: 4 kB / 0.7295 GB, free: 5.594 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003139/0.7406, allocations: 130.7 kB / 0.7297 GB, free: 5.434 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.7409, allocations: 0.6768 MB / 0.7303 GB, free: 4.73 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.006e-05/0.7409, allocations: 4 kB / 0.7303 GB, free: 4.727 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.7409, allocations: 11.38 kB / 0.7303 GB, free: 4.715 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7409, allocations: 4 kB / 0.7303 GB, free: 4.711 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.7612, allocations: 1.179 MB / 0.7315 GB, free: 3.539 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/0.7615, allocations: 182.9 kB / 0.7317 GB, free: 3.348 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.401/2.162, allocations: 0 / 0.7317 GB, free: 3.348 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)