Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",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.7168/0.7168, allocations: 128.7 MB / 143.7 MB, free: 2.352 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.001437/0.001437, allocations: 170.5 kB / 173.7 MB, free: 6.148 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.635/1.635, allocations: 205.4 MB / 409 MB, free: 10.52 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.0008885/0.0008885, allocations: 79.62 kB / 486.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003652, allocations: 11.25 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1749, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.316, allocations: 102.9 MB / 0.7359 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/0.3164, allocations: 79.94 kB / 0.7359 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01599/0.3324, allocations: 5.478 MB / 0.7413 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3324, allocations: 0 / 0.7413 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.3324, allocations: 0 / 0.7413 GB, free: 1.918 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005202/0.333, allocations: 371.2 kB / 0.7416 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.333, allocations: 8.031 kB / 0.7416 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.967e-05/0.3331, allocations: 30.56 kB / 0.7417 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.3332, allocations: 11.94 kB / 0.7417 GB, free: 1.449 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3334, allocations: 163 kB / 0.7418 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.3334, allocations: 8 kB / 0.7419 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.3334, allocations: 4 kB / 0.7419 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.3336, allocations: 45.69 kB / 0.7419 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3336, allocations: 0 / 0.7419 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3336, allocations: 4 kB / 0.7419 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.181e-05/0.3337, allocations: 4 kB / 0.7419 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.3337, allocations: 23.88 kB / 0.7419 GB, free: 1.156 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.334, allocations: 165.6 kB / 0.7421 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.3342, allocations: 66.62 kB / 0.7422 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007136/0.3349, allocations: 457.5 kB / 0.7426 GB, free: 340 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.335, allocations: 38.5 kB / 0.7426 GB, free: 292 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.335, allocations: 4 kB / 0.7426 GB, free: 288 kB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.367/0.702, allocations: 0.5766 MB / 0.7432 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.7021, allocations: 57.39 kB / 0.7432 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.7022, allocations: 92.02 kB / 0.7433 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.7022, allocations: 30.48 kB / 0.7434 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.67e-05/0.7022, allocations: 80.14 kB / 0.7434 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.7023, allocations: 40.48 kB / 0.7435 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-06/0.7023, allocations: 0.875 kB / 0.7435 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.845e-05/0.7023, allocations: 319.7 kB / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.7024, allocations: 24.17 kB / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.967e-05/0.7024, allocations: 20.86 kB / 0.7438 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.7025, allocations: 24.56 kB / 0.7439 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.7025, allocations: 1.531 kB / 0.7439 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001801/0.7027, allocations: 100.6 kB / 0.7439 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.7027, allocations: 6.078 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.7027, allocations: 6.031 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.7028, allocations: 3.844 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.7029, allocations: 18.86 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.7029, allocations: 3.25 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.7029, allocations: 7.328 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.703, allocations: 4.312 kB / 0.744 GB, free: 109.3 MB / 0.5105 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.725e-05/0.703, allocations: 117.1 kB / 0.7441 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.7031, allocations: 3.406 kB / 0.7441 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.7033, allocations: 112.9 kB / 0.7442 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.7033, allocations: 3.141 kB / 0.7442 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7033, allocations: 0 / 0.7442 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7033, allocations: 3.188 kB / 0.7442 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.7037, allocations: 354 kB / 0.7446 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.7037, allocations: 0 / 0.7446 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.7039, allocations: 21.78 kB / 0.7446 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.7039, allocations: 0 / 0.7446 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.7039, allocations: 8.812 kB / 0.7446 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.7039, allocations: 1.219 kB / 0.7446 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7039, allocations: 7.797 kB / 0.7446 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.7042, allocations: 208.1 kB / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.7042, allocations: 90.64 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.7043, allocations: 1.031 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.7043, allocations: 12.77 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.132e-05/0.7044, allocations: 9.125 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.7044, allocations: 3.469 kB / 0.7449 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.7044, allocations: 83.27 kB / 0.745 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7044, allocations: 0 / 0.745 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003403/0.7048, allocations: 54.95 kB / 0.745 GB, free: 108.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005949/0.7054, allocations: 0.8116 MB / 0.7458 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.7055, allocations: 63.92 kB / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7056, allocations: 1.031 kB / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.897e-05/0.7056, allocations: 34.66 kB / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.7058, allocations: 2.531 kB / 0.7459 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007851/0.7066, allocations: 0.524 MB / 0.7464 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001508/0.7067, allocations: 0.6926 MB / 0.7471 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.311e-05/0.7068, allocations: 14.77 kB / 0.7471 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.7068, allocations: 21.36 kB / 0.7472 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.7068, allocations: 0 / 0.7472 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.7206, allocations: 2.207 MB / 0.7493 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001814/0.7208, allocations: 214.1 kB / 0.7495 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.508/2.229, allocations: 1.094 kB / 0.7495 GB, free: 106.4 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)