Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_Buildings_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.001131/0.001131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001124/0.001124, allocations: 199.4 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.175/1.175, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.495/1.495, allocations: 292.3 MB / 0.5486 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 69.89 kB / 0.6711 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.156, allocations: 114.6 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00144/0.1575, allocations: 0.686 MB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005241/0.158, allocations: 346.8 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.558e-05/0.158, allocations: 3.938 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.1581, allocations: 4 kB / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.38e-05/0.1581, allocations: 0 / 0.784 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1585, allocations: 99.84 kB / 0.7841 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.461e-05/0.1585, allocations: 31.84 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.144e-05/0.1585, allocations: 4 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.954e-05/0.1586, allocations: 11.98 kB / 0.7841 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.917e-05/0.1586, allocations: 11.92 kB / 0.7841 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.1586, allocations: 8 kB / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002979/0.1589, allocations: 271.7 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.341e-05/0.159, allocations: 11.92 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.845e-05/0.159, allocations: 11.92 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.1591, allocations: 107.8 kB / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1591, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1591, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.1592, allocations: 0 / 0.7845 GB, free: 12.17 MB / 0.6075 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.0003342/0.1595, allocations: 362.3 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.1595, allocations: 8.031 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.584e-05/0.1596, allocations: 38.75 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.1596, allocations: 4.938 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.325e-05/0.1597, allocations: 164.4 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1597, allocations: 8.312 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.1597, allocations: 12.28 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.136e-05/0.1598, allocations: 42.25 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1598, allocations: 3.938 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.1599, allocations: 4 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1599, allocations: 0 / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.1599, allocations: 19.98 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001289/0.16, allocations: 165.7 kB / 0.7853 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.1601, allocations: 62.48 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.1602, allocations: 24.86 kB / 0.7854 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005914/0.1608, allocations: 465.4 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.1608, allocations: 34.56 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1608, allocations: 0 / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.00105/0.1619, allocations: 0.5927 MB / 0.7865 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.1619, allocations: 55.41 kB / 0.7865 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.92e-05/0.162, allocations: 101.8 kB / 0.7866 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.254e-05/0.162, allocations: 25.7 kB / 0.7866 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.165e-05/0.162, allocations: 80.14 kB / 0.7867 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1621, allocations: 47.34 kB / 0.7868 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.1621, allocations: 25.72 kB / 0.7868 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.689e-05/0.1622, allocations: 322.8 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.1622, allocations: 20 kB / 0.7871 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.1623, allocations: 19.98 kB / 0.7871 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.587e-05/0.1623, allocations: 68.47 kB / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.1623, allocations: 0 / 0.7872 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001313/0.1625, allocations: 93.62 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.1625, allocations: 8 kB / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.1625, allocations: 0 / 0.7873 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.526e-06/0.1625, allocations: 4 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.158e-05/0.1626, allocations: 35.92 kB / 0.7873 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1626, allocations: 0 / 0.7873 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.1626, allocations: 0 / 0.7873 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.1627, allocations: 4.094 kB / 0.7873 GB, free: 8.887 MB / 0.6075 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 5.955e-05/0.1627, allocations: 113.8 kB / 0.7875 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.599e-05/0.1627, allocations: 11.84 kB / 0.7875 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001586/0.1629, allocations: 105.6 kB / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1629, allocations: 4 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1629, allocations: 7.875 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1629, allocations: 0 / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002973/0.1632, allocations: 346.5 kB / 0.7879 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1633, allocations: 0 / 0.7879 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.561e-05/0.1634, allocations: 19.98 kB / 0.7879 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.1634, allocations: 0 / 0.7879 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1634, allocations: 11.94 kB / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1634, allocations: 0 / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1634, allocations: 0 / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.1636, allocations: 223.3 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.1636, allocations: 85.12 kB / 0.7882 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.1637, allocations: 4 kB / 0.7882 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.1637, allocations: 3.984 kB / 0.7882 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.1638, allocations: 4 kB / 0.7882 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1638, allocations: 4 kB / 0.7882 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.138e-05/0.1638, allocations: 87.45 kB / 0.7883 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1638, allocations: 4.062 kB / 0.7883 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002431/0.1641, allocations: 40 kB / 0.7884 GB, free: 7.723 MB / 0.6075 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.0004924/0.1646, allocations: 0.8026 MB / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001219/0.1647, allocations: 59.92 kB / 0.7892 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1647, allocations: 0 / 0.7892 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-05/0.1648, allocations: 39.98 kB / 0.7893 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.165, allocations: 11.98 kB / 0.7893 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009714/0.1659, allocations: 1.408 MB / 0.7906 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/0.1661, allocations: 0.6885 MB / 0.7913 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.327e-05/0.1662, allocations: 12 kB / 0.7913 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.1662, allocations: 19.42 kB / 0.7913 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.1662, allocations: 0 / 0.7913 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.276/1.442, allocations: 2.379 MB / 0.7937 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.442, allocations: 234.3 kB / 0.7939 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.29/3.732, allocations: 0.5 kB / 0.7939 GB, free: 2.094 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)