Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.001269/0.001269, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002422/0.002422, allocations: 279 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.977/0.977, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002639/0.002639, allocations: 99.97 kB / 0.5954 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1521, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001699/0.1538, allocations: 0.5769 MB / 0.6809 GB, free: 32 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006779/0.1545, allocations: 350.7 kB / 0.6812 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.1546, allocations: 0 / 0.6812 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.277e-05/0.1546, allocations: 7.938 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/0.1546, allocations: 0 / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004177/0.155, allocations: 107.7 kB / 0.6813 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.194e-05/0.1551, allocations: 7.984 kB / 0.6813 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.434e-05/0.1551, allocations: 0 / 0.6813 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.752e-05/0.1552, allocations: 11.98 kB / 0.6813 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.192e-05/0.1552, allocations: 11.94 kB / 0.6813 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1552, allocations: 3.938 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.1556, allocations: 279.6 kB / 0.6816 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1556, allocations: 3.938 kB / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.527e-05/0.1556, allocations: 0 / 0.6816 GB, free: 15.26 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1558, allocations: 99.77 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1558, allocations: 0 / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1558, allocations: 0 / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1558, allocations: 0 / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003799/0.1562, allocations: 343.8 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1563, allocations: 12.03 kB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.297e-05/0.1563, allocations: 30.75 kB / 0.6821 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.1564, allocations: 4.938 kB / 0.6821 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1565, allocations: 160.4 kB / 0.6822 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.1565, allocations: 4.375 kB / 0.6822 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1565, allocations: 4.281 kB / 0.6823 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.214e-05/0.1566, allocations: 34.25 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1567, allocations: 7.938 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1567, allocations: 0 / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1567, allocations: 4 kB / 0.6823 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.159e-05/0.1567, allocations: 3.938 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1569, allocations: 153.7 kB / 0.6824 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.105e-05/0.1569, allocations: 22.61 kB / 0.6825 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.157, allocations: 8.922 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007418/0.1577, allocations: 461.5 kB / 0.6829 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1577, allocations: 30.56 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1577, allocations: 0 / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005125/0.1583, allocations: 258.5 kB / 0.6832 GB, free: 13.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.1583, allocations: 55.34 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.1584, allocations: 101.8 kB / 0.6833 GB, free: 13.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1584, allocations: 25.7 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.129e-05/0.1584, allocations: 84.14 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.1585, allocations: 11.81 kB / 0.6835 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.1585, allocations: 17.72 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1586, allocations: 319 kB / 0.6838 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.1587, allocations: 4 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.95e-05/0.1587, allocations: 17.72 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.752e-05/0.1588, allocations: 21.72 kB / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1588, allocations: 0 / 0.6838 GB, free: 12.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.1589, allocations: 61.62 kB / 0.6839 GB, free: 12.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.1589, allocations: 7.938 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.1589, allocations: 0 / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1589, allocations: 0 / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.749e-05/0.159, allocations: 15.92 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.159, allocations: 0 / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.695e-05/0.159, allocations: 0 / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.159, allocations: 4 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.601e-05/0.1591, allocations: 115.1 kB / 0.684 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.258e-05/0.1591, allocations: 8 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.1593, allocations: 57.11 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1593, allocations: 4 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.1593, allocations: 0 / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1593, allocations: 3.984 kB / 0.6841 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001197/0.1594, allocations: 157.7 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1594, allocations: 0 / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.846e-05/0.1595, allocations: 4 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1595, allocations: 3.938 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1595, allocations: 4 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.1595, allocations: 4 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1595, allocations: 0 / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.1597, allocations: 84.97 kB / 0.6843 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.88e-05/0.1597, allocations: 85.03 kB / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.1597, allocations: 0 / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.069e-05/0.1598, allocations: 4.031 kB / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.11e-05/0.1598, allocations: 4 kB / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1598, allocations: 8 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.921e-05/0.1598, allocations: 79.28 kB / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1599, allocations: 0 / 0.6845 GB, free: 11.82 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002059/0.1601, allocations: 27.98 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0005073/0.1606, allocations: 0.6438 MB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.65e-05/0.1607, allocations: 19.98 kB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1607, allocations: 0 / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.717e-05/0.1607, allocations: 7.938 kB / 0.6852 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.1608, allocations: 8 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/0.1618, allocations: 1.124 MB / 0.6863 GB, free: 9.871 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1621, allocations: 0.6885 MB / 0.687 GB, free: 9.156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.884e-05/0.1622, allocations: 4 kB / 0.687 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.1622, allocations: 11.44 kB / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1622, allocations: 0 / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02282/0.185, allocations: 1.732 MB / 0.6887 GB, free: 7.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.378/7.563, allocations: 14.47 kB / 0.6887 GB, free: 7.562 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)