Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="BuildingSystems_BuildingSystems_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.00546/0.005463, allocations: 104.1 kB / 15.74 MB, free: 6.031 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.00122/0.00122, allocations: 194 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00215/0.00215, allocations: 283.1 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 96.17 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1542, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001595/0.1558, allocations: 0.6282 MB / 0.7666 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006523/0.1565, allocations: 350.6 kB / 0.7669 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.1566, allocations: 0 / 0.7669 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.291e-05/0.1566, allocations: 0 / 0.7669 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.031e-05/0.1566, allocations: 3.938 kB / 0.7669 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004808/0.1571, allocations: 119.7 kB / 0.767 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.309e-05/0.1572, allocations: 23.92 kB / 0.767 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.1573, allocations: 8.281 kB / 0.767 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.231e-05/0.1573, allocations: 11.94 kB / 0.7671 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.804e-05/0.1574, allocations: 15.91 kB / 0.7671 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.1574, allocations: 0 / 0.7671 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003904/0.1578, allocations: 275.6 kB / 0.7673 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.985e-05/0.1578, allocations: 8 kB / 0.7673 GB, free: 7.48 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.822e-05/0.1578, allocations: 11.92 kB / 0.7674 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.158, allocations: 111.7 kB / 0.7675 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.1581, allocations: 4 kB / 0.7675 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.1581, allocations: 0 / 0.7675 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.1581, allocations: 0 / 0.7675 GB, free: 7.355 MB / 0.5606 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.000425/0.1585, allocations: 351.5 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1585, allocations: 12.03 kB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.385e-05/0.1586, allocations: 34.75 kB / 0.7678 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.739e-05/0.1586, allocations: 4.938 kB / 0.7678 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1588, allocations: 164.3 kB / 0.768 GB, free: 6.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1588, allocations: 4.375 kB / 0.768 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.1588, allocations: 8.375 kB / 0.768 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.1589, allocations: 54.17 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.159, allocations: 11.86 kB / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.159, allocations: 0 / 0.7681 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.159, allocations: 4 kB / 0.7681 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.024e-05/0.159, allocations: 15.98 kB / 0.7681 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.1592, allocations: 169.6 kB / 0.7683 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.1593, allocations: 62.5 kB / 0.7683 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.773e-05/0.1594, allocations: 32.84 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000684/0.1601, allocations: 457.5 kB / 0.7688 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.1601, allocations: 38.56 kB / 0.7688 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.1601, allocations: 0 / 0.7688 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.00126/0.1614, allocations: 0.5877 MB / 0.7694 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.1614, allocations: 51.41 kB / 0.7694 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.202e-05/0.1615, allocations: 101.9 kB / 0.7695 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.1615, allocations: 29.7 kB / 0.7696 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.1616, allocations: 84.12 kB / 0.7697 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.1616, allocations: 39.41 kB / 0.7697 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.1617, allocations: 25.7 kB / 0.7697 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1618, allocations: 314.8 kB / 0.77 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-05/0.1618, allocations: 23.98 kB / 0.77 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.662e-05/0.1619, allocations: 31.73 kB / 0.7701 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.1619, allocations: 60.8 kB / 0.7701 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1619, allocations: 0 / 0.7701 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001448/0.1621, allocations: 93.7 kB / 0.7702 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1621, allocations: 11.94 kB / 0.7702 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1621, allocations: 4 kB / 0.7702 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.1621, allocations: 0 / 0.7702 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.1622, allocations: 20 kB / 0.7703 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1623, allocations: 7.984 kB / 0.7703 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.1623, allocations: 3.938 kB / 0.7703 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.1623, allocations: 4 kB / 0.7703 GB, free: 4.074 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.1624, allocations: 114.5 kB / 0.7704 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.1624, allocations: 11.84 kB / 0.7704 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.1626, allocations: 101.6 kB / 0.7705 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.1626, allocations: 4 kB / 0.7705 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1626, allocations: 3.984 kB / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1626, allocations: 0 / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003496/0.163, allocations: 358.4 kB / 0.7708 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.163, allocations: 0 / 0.7708 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-05/0.1631, allocations: 20 kB / 0.7709 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1631, allocations: 0 / 0.7709 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.1631, allocations: 12.17 kB / 0.7709 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1631, allocations: 0 / 0.7709 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1631, allocations: 3.938 kB / 0.7709 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/0.1634, allocations: 223.7 kB / 0.7711 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.1634, allocations: 81.09 kB / 0.7712 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.1635, allocations: 8 kB / 0.7712 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.1635, allocations: 4.062 kB / 0.7712 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.571e-05/0.1636, allocations: 7.984 kB / 0.7712 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1636, allocations: 8 kB / 0.7712 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.259e-05/0.1636, allocations: 75.28 kB / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1636, allocations: 3.938 kB / 0.7713 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000261/0.1639, allocations: 51.98 kB / 0.7713 GB, free: 2.898 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006031/0.1645, allocations: 0.7943 MB / 0.7721 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001423/0.1646, allocations: 63.8 kB / 0.7721 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.1647, allocations: 4 kB / 0.7721 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.1647, allocations: 27.98 kB / 0.7722 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.1649, allocations: 9.219 kB / 0.7722 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.1661, allocations: 1.401 MB / 0.7736 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3071/0.4732, allocations: 0.6875 MB / 0.7742 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.437e-05/0.4733, allocations: 10.61 kB / 0.7742 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.161e-05/0.4734, allocations: 17.81 kB / 0.7743 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of SimCode: time 1.163e-06/0.4734, allocations: 0.5312 kB / 0.7743 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.4933, allocations: 2.516 MB / 0.7767 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.576, allocations: 5.812 kB / 0.7767 GB, free: 13.98 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)