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.6831/0.6831, allocations: 127.4 MB / 134.9 MB, free: 3.766 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.001056/0.001056, allocations: 184.8 kB / 164.7 MB, free: 6.516 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.606/1.606, allocations: 205.2 MB / 399.5 MB, free: 5.93 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.0009114/0.0009115, allocations: 95.06 kB / 476.7 MB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.244e-05/2.246e-05, allocations: 8 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1704, allocations: 76.77 MB / 0.6216 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5391/0.7095, allocations: 102.2 MB / 0.7215 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.7098, allocations: 75.52 kB / 0.7215 GB, free: 13.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.7249, allocations: 5.441 MB / 0.7269 GB, free: 8.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.7249, allocations: 4 kB / 0.7269 GB, free: 8.906 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.7249, allocations: 0 / 0.7269 GB, free: 8.906 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003934/0.7253, allocations: 369.9 kB / 0.7272 GB, free: 8.504 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.7254, allocations: 8.031 kB / 0.7272 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.575e-05/0.7255, allocations: 8.734 kB / 0.7272 GB, free: 8.488 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.7256, allocations: 159.1 kB / 0.7274 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.7256, allocations: 0 / 0.7274 GB, free: 8.293 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.7256, allocations: 7.906 kB / 0.7274 GB, free: 8.285 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.191e-05/0.7257, allocations: 15.62 kB / 0.7274 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.287e-05/0.7258, allocations: 45.44 kB / 0.7274 GB, free: 8.227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7258, allocations: 3.938 kB / 0.7274 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.7259, allocations: 0 / 0.7274 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.7259, allocations: 7.984 kB / 0.7275 GB, free: 8.215 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001629/0.726, allocations: 137.7 kB / 0.7276 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.563e-05/0.7261, allocations: 49.33 kB / 0.7276 GB, free: 8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.7262, allocations: 24.28 kB / 0.7277 GB, free: 7.98 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006707/0.7269, allocations: 469.4 kB / 0.7281 GB, free: 7.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.7269, allocations: 38.36 kB / 0.7281 GB, free: 7.387 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.7269, allocations: 4 kB / 0.7281 GB, free: 7.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009714/0.7279, allocations: 0.5133 MB / 0.7286 GB, free: 6.809 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.7279, allocations: 52.34 kB / 0.7287 GB, free: 6.746 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.728, allocations: 89 kB / 0.7288 GB, free: 6.652 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.728, allocations: 25.7 kB / 0.7288 GB, free: 6.621 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.728, allocations: 87.39 kB / 0.7289 GB, free: 6.535 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.7281, allocations: 38.92 kB / 0.7289 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.7281, allocations: 0 / 0.7289 GB, free: 6.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.7282, allocations: 326.5 kB / 0.7292 GB, free: 6.176 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.127e-05/0.7283, allocations: 11.69 kB / 0.7292 GB, free: 6.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.897e-05/0.7283, allocations: 18.88 kB / 0.7293 GB, free: 6.156 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.7284, allocations: 28.73 kB / 0.7293 GB, free: 6.137 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.7284, allocations: 4.094 kB / 0.7293 GB, free: 6.133 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001544/0.7285, allocations: 84.25 kB / 0.7294 GB, free: 6.055 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7286, allocations: 12 kB / 0.7294 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7286, allocations: 0 / 0.7294 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.7286, allocations: 0 / 0.7294 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.7287, allocations: 19.98 kB / 0.7294 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.7287, allocations: 4 kB / 0.7294 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.7288, allocations: 0 / 0.7294 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.7288, allocations: 0 / 0.7294 GB, free: 6.02 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 (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 7.405e-05/0.7289, allocations: 112.9 kB / 0.7295 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001473/0.729, allocations: 82.72 kB / 0.7296 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.729, allocations: 7.984 kB / 0.7296 GB, free: 5.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.7292, allocations: 97.39 kB / 0.7297 GB, free: 5.738 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.7292, allocations: 4 kB / 0.7297 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.7293, allocations: 0 / 0.7297 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7293, allocations: 3.953 kB / 0.7297 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.7296, allocations: 322.3 kB / 0.73 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7296, allocations: 4 kB / 0.73 GB, free: 5.391 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.7298, allocations: 23.98 kB / 0.73 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.7298, allocations: 0 / 0.73 GB, free: 5.367 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.7298, allocations: 4 kB / 0.73 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7298, allocations: 4 kB / 0.73 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7298, allocations: 3.953 kB / 0.7301 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.7301, allocations: 205.6 kB / 0.7302 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.7301, allocations: 87.78 kB / 0.7303 GB, free: 5.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.7302, allocations: 4 kB / 0.7303 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.547e-05/0.7302, allocations: 4 kB / 0.7303 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.507e-05/0.7303, allocations: 10.61 kB / 0.7304 GB, free: 5.043 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.7303, allocations: 12.02 kB / 0.7304 GB, free: 5.031 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.7303, allocations: 75.28 kB / 0.7304 GB, free: 4.957 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7303, allocations: 0 / 0.7304 GB, free: 4.957 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.7307, allocations: 58.25 kB / 0.7305 GB, free: 4.902 MB / 490.7 MB 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 () * 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.0006883/0.7314, allocations: 0.8018 MB / 0.7313 GB, free: 4.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001243/0.7315, allocations: 59.56 kB / 0.7313 GB, free: 4.051 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.7315, allocations: 0 / 0.7313 GB, free: 4.051 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.167e-05/0.7316, allocations: 30.38 kB / 0.7314 GB, free: 4.027 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.7317, allocations: 0 / 0.7314 GB, free: 4.027 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000481/0.7322, allocations: 186 kB / 0.7315 GB, free: 3.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.7325, allocations: 0.6927 MB / 0.7322 GB, free: 3.102 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.981e-05/0.7326, allocations: 8 kB / 0.7322 GB, free: 3.094 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.7326, allocations: 18.8 kB / 0.7322 GB, free: 3.078 MB / 490.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7326, allocations: 3.938 kB / 0.7322 GB, free: 3.074 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/0.753, allocations: 1.88 MB / 0.7341 GB, free: 1.223 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/0.7533, allocations: 182 kB / 0.7343 GB, free: 1.027 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/2.229, allocations: 0 / 0.7343 GB, free: 1.027 MB / 490.7 MB (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)