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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008117/0.0008117, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000836/0.000836, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9746/0.9746, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003296, allocations: 12 kB / 0.5161 GB, free: 11.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1505, allocations: 83.41 MB / 0.5976 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007566/0.1513, allocations: 339 kB / 0.5979 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005974/0.1519, allocations: 331.2 kB / 0.5982 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.084e-05/0.152, allocations: 0 / 0.5982 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.152, allocations: 3.938 kB / 0.5982 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.725e-05/0.152, allocations: 0 / 0.5982 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1524, allocations: 75.84 kB / 0.5983 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.944e-05/0.1525, allocations: 27.91 kB / 0.5983 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.159e-05/0.1525, allocations: 0 / 0.5983 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.1526, allocations: 8 kB / 0.5983 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.153e-05/0.1526, allocations: 15.92 kB / 0.5983 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.418e-05/0.1527, allocations: 4 kB / 0.5983 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.153, allocations: 259.7 kB / 0.5986 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.5e-05/0.153, allocations: 15.97 kB / 0.5986 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.1531, allocations: 29.7 kB / 0.5986 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.1532, allocations: 59.83 kB / 0.5987 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1532, allocations: 3.938 kB / 0.5987 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1532, allocations: 0 / 0.5987 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.1532, allocations: 3.938 kB / 0.5987 GB, free: 6.516 MB / 0.4981 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.0003908/0.1536, allocations: 363.5 kB / 0.599 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1537, allocations: 8.031 kB / 0.599 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.1537, allocations: 38.56 kB / 0.5991 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.718e-05/0.1538, allocations: 0 / 0.5991 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1539, allocations: 167 kB / 0.5992 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.1539, allocations: 0 / 0.5992 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.1539, allocations: 8 kB / 0.5992 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001199/0.154, allocations: 49.67 kB / 0.5993 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1541, allocations: 0 / 0.5993 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1541, allocations: 7.984 kB / 0.5993 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1541, allocations: 0 / 0.5993 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.1542, allocations: 23.92 kB / 0.5993 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1543, allocations: 177.5 kB / 0.5995 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.1544, allocations: 54.56 kB / 0.5995 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.1545, allocations: 28.84 kB / 0.5996 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/0.1551, allocations: 465.5 kB / 0.6 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1551, allocations: 34.56 kB / 0.6 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1551, allocations: 0 / 0.6 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001229/0.1564, allocations: 0.5956 MB / 0.6006 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.1564, allocations: 55.41 kB / 0.6007 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.081e-05/0.1565, allocations: 93.86 kB / 0.6008 GB, free: 4 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.1565, allocations: 33.69 kB / 0.6008 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.1566, allocations: 84.14 kB / 0.6009 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.1566, allocations: 35.47 kB / 0.6009 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.1566, allocations: 0 / 0.6009 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.1567, allocations: 326.8 kB / 0.6012 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.512e-05/0.1568, allocations: 15.98 kB / 0.6012 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.765e-05/0.1568, allocations: 26.88 kB / 0.6013 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.494e-05/0.1569, allocations: 20 kB / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1569, allocations: 0 / 0.6013 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/0.157, allocations: 101.6 kB / 0.6014 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1571, allocations: 15.94 kB / 0.6014 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1571, allocations: 3.938 kB / 0.6014 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1571, allocations: 0 / 0.6014 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.1572, allocations: 19.98 kB / 0.6014 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1572, allocations: 4 kB / 0.6014 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.1572, allocations: 0 / 0.6014 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1572, allocations: 0 / 0.6014 GB, free: 3.305 MB / 0.4981 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 8.193e-05/0.1573, allocations: 117.8 kB / 0.6015 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1574, allocations: 8 kB / 0.6015 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.1576, allocations: 109.5 kB / 0.6017 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.1576, allocations: 4 kB / 0.6017 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1576, allocations: 0 / 0.6017 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1576, allocations: 96 / 0.6017 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.158, allocations: 362.3 kB / 0.602 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.158, allocations: 0 / 0.602 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/0.1581, allocations: 23.98 kB / 0.602 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.1581, allocations: 0 / 0.602 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1581, allocations: 0 / 0.602 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1582, allocations: 8 kB / 0.602 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1582, allocations: 0 / 0.602 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1584, allocations: 219.8 kB / 0.6022 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.991e-05/0.1585, allocations: 97.11 kB / 0.6023 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.1585, allocations: 0 / 0.6023 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.792e-05/0.1586, allocations: 11.92 kB / 0.6023 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.244e-05/0.1586, allocations: 8 kB / 0.6024 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.1586, allocations: 64 / 0.6024 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.488e-05/0.1587, allocations: 87.27 kB / 0.6024 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.51e-07/0.1587, allocations: 0 / 0.6024 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002751/0.159, allocations: 43.95 kB / 0.6025 GB, free: 2.117 MB / 0.4981 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.0006345/0.1596, allocations: 0.7866 MB / 0.6032 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.1597, allocations: 63.98 kB / 0.6033 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1598, allocations: 0 / 0.6033 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.523e-05/0.1598, allocations: 35.92 kB / 0.6033 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.16, allocations: 8 kB / 0.6034 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007071/0.1607, allocations: 0.5159 MB / 0.6039 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3197/0.4804, allocations: 0.6852 MB / 0.6045 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.194e-05/0.4806, allocations: 7.516 kB / 0.6045 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.544e-05/0.4806, allocations: 16.91 kB / 0.6045 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of SimCode: time 1.052e-06/0.4806, allocations: 0.5625 kB / 0.6045 GB, free: 39.97 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01444/0.4951, allocations: 2.256 MB / 0.6068 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.4953, allocations: 234.4 kB / 0.607 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/2.155, allocations: 0 / 0.607 GB, free: 39.68 MB / 0.4981 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) Environment - environmentSimulation: