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.001272/0.001272, 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.001323/0.001323, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002047, allocations: 279.1 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9023/0.9023, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 100.4 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.137, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00173/0.1387, allocations: 0.5772 MB / 0.6809 GB, free: 12 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006377/0.1394, allocations: 350.6 kB / 0.6812 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1394, allocations: 0.625 kB / 0.6812 GB, free: 15.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.332e-05/0.1394, allocations: 4 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.925e-05/0.1395, allocations: 4.594 kB / 0.6812 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.14, allocations: 113.4 kB / 0.6813 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.625e-05/0.14, allocations: 8 kB / 0.6813 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.1401, allocations: 0.6562 kB / 0.6813 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.772e-05/0.1401, allocations: 8.547 kB / 0.6813 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.1401, allocations: 11.94 kB / 0.6813 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.1402, allocations: 0.7188 kB / 0.6813 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.1405, allocations: 275.6 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.396e-05/0.1405, allocations: 5.922 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.1406, allocations: 4 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1407, allocations: 91.8 kB / 0.6817 GB, free: 15.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1408, allocations: 3.938 kB / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1408, allocations: 0 / 0.6817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1408, allocations: 0.5938 kB / 0.6817 GB, free: 15.15 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.000333/0.1411, allocations: 351.8 kB / 0.682 GB, free: 14.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1412, allocations: 8.031 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.176e-05/0.1412, allocations: 30.75 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.837e-05/0.1412, allocations: 4.938 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.388e-05/0.1413, allocations: 164.4 kB / 0.6822 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.1414, allocations: 384 / 0.6822 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.344e-05/0.1414, allocations: 4.281 kB / 0.6822 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1415, allocations: 38.25 kB / 0.6823 GB, free: 14.46 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1415, allocations: 7.938 kB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1415, allocations: 4 kB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1416, allocations: 0 / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.056e-05/0.1416, allocations: 3.938 kB / 0.6823 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002184/0.1418, allocations: 153.7 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.339e-05/0.1419, allocations: 18.61 kB / 0.6825 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.281e-05/0.1419, allocations: 8.922 kB / 0.6825 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008174/0.1427, allocations: 465.5 kB / 0.6829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1428, allocations: 30.56 kB / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 3.497e-06/0.1428, allocations: 0 / 0.6829 GB, free: 13.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005857/0.1434, allocations: 254.3 kB / 0.6832 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.1434, allocations: 51.41 kB / 0.6832 GB, free: 13.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.27e-05/0.1435, allocations: 97.86 kB / 0.6833 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.1435, allocations: 25.7 kB / 0.6834 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.1436, allocations: 84.08 kB / 0.6834 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1436, allocations: 23.73 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.6e-05/0.1437, allocations: 18.06 kB / 0.6835 GB, free: 12.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1438, allocations: 314.8 kB / 0.6838 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.1438, allocations: 7.984 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/0.1439, allocations: 13.72 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/0.1439, allocations: 21.72 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1439, allocations: 4 kB / 0.6838 GB, free: 12.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000103/0.1441, allocations: 61.62 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1441, allocations: 7.938 kB / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1441, allocations: 0 / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1441, allocations: 0 / 0.6839 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.323e-05/0.1442, allocations: 8 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.1442, allocations: 0 / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.1442, allocations: 0 / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-06/0.1442, allocations: 4 kB / 0.6839 GB, free: 12.53 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 6.674e-05/0.1443, allocations: 115.2 kB / 0.684 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.1443, allocations: 3.938 kB / 0.684 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.1445, allocations: 61.06 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1445, allocations: 4 kB / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1445, allocations: 0 / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1445, allocations: 192 / 0.6841 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.306e-05/0.1446, allocations: 153.7 kB / 0.6842 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1446, allocations: 4 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.135e-05/0.1446, allocations: 4 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.1447, allocations: 15.91 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1447, allocations: 0 / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1447, allocations: 4 kB / 0.6842 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1447, allocations: 0 / 0.6842 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.1448, allocations: 84.97 kB / 0.6843 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.1449, allocations: 81.05 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1449, allocations: 0 / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.1449, allocations: 7.969 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.1449, allocations: 8.047 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.145, allocations: 0 / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.958e-05/0.145, allocations: 79.28 kB / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.145, allocations: 0 / 0.6845 GB, free: 11.81 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.1452, allocations: 31.94 kB / 0.6845 GB, free: 11.78 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.000433/0.1456, allocations: 0.6476 MB / 0.6852 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.032e-05/0.1457, allocations: 16 kB / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1458, allocations: 0 / 0.6852 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.568e-05/0.1458, allocations: 7.938 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.1459, allocations: 10.36 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.1468, allocations: 1.127 MB / 0.6863 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.147, allocations: 0.6768 MB / 0.687 GB, free: 9.148 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.041e-05/0.147, allocations: 7.984 kB / 0.687 GB, free: 9.141 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.1471, allocations: 11.42 kB / 0.687 GB, free: 9.129 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1471, allocations: 0 / 0.687 GB, free: 9.129 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01861/0.1657, allocations: 1.732 MB / 0.6887 GB, free: 7.562 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/7.021, allocations: 12.12 kB / 0.6887 GB, free: 7.551 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)