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.001143/0.001143, 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.001194/0.001194, allocations: 195.2 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 286.9 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.9558/0.9558, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 101.4 kB / 0.5954 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1409, allocations: 86.97 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001964/0.143, allocations: 0.5902 MB / 0.6809 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.1438, allocations: 355.4 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.1438, allocations: 0 / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.617e-05/0.1439, allocations: 0.875 kB / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.967e-05/0.1439, allocations: 0 / 0.6812 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005329/0.1444, allocations: 114 kB / 0.6813 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.359e-05/0.1445, allocations: 8 kB / 0.6813 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.1446, allocations: 4 kB / 0.6813 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.1446, allocations: 0 / 0.6813 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.1446, allocations: 16.75 kB / 0.6813 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1447, allocations: 0 / 0.6813 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.1451, allocations: 279.7 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.287e-05/0.1451, allocations: 0 / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.1451, allocations: 7.984 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001994/0.1453, allocations: 91.78 kB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1453, allocations: 0 / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1453, allocations: 0 / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.1453, allocations: 0 / 0.6817 GB, free: 15.14 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.000374/0.1457, allocations: 343.8 kB / 0.682 GB, free: 14.75 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1458, allocations: 8.031 kB / 0.682 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.334e-05/0.1458, allocations: 34.75 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.1459, allocations: 8.938 kB / 0.6821 GB, free: 14.69 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.146, allocations: 164.4 kB / 0.6822 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.146, allocations: 4.312 kB / 0.6822 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.146, allocations: 8.281 kB / 0.6823 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.111e-05/0.1461, allocations: 34.2 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.1461, allocations: 3.938 kB / 0.6823 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1462, allocations: 3.984 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1462, allocations: 0 / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.436e-05/0.1462, allocations: 4 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.1464, allocations: 153.7 kB / 0.6824 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.004e-05/0.1464, allocations: 30.5 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.1465, allocations: 8.859 kB / 0.6825 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/0.1472, allocations: 461.5 kB / 0.6829 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1472, allocations: 30.56 kB / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1472, allocations: 0 / 0.6829 GB, free: 13.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005129/0.1477, allocations: 254.3 kB / 0.6832 GB, free: 13.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1478, allocations: 59.56 kB / 0.6832 GB, free: 13.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.031e-05/0.1478, allocations: 89.86 kB / 0.6833 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.1479, allocations: 33.7 kB / 0.6834 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.1479, allocations: 80.14 kB / 0.6834 GB, free: 13.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.1479, allocations: 11.8 kB / 0.6835 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.148, allocations: 17.72 kB / 0.6835 GB, free: 12.97 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.1481, allocations: 310.8 kB / 0.6838 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.194e-05/0.1481, allocations: 8.125 kB / 0.6838 GB, free: 12.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.1481, allocations: 25.73 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.932e-05/0.1482, allocations: 29.66 kB / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1482, allocations: 0 / 0.6838 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001034/0.1483, allocations: 53.62 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1483, allocations: 9.656 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1483, allocations: 4.062 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1483, allocations: 4 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.851e-05/0.1484, allocations: 4 kB / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1484, allocations: 0 / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.876e-05/0.1484, allocations: 0 / 0.6839 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.1485, allocations: 8 kB / 0.6839 GB, free: 12.5 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.565e-05/0.1485, allocations: 107.2 kB / 0.684 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.1486, allocations: 7.938 kB / 0.684 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/0.1487, allocations: 65.05 kB / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1487, allocations: 0 / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1488, allocations: 0 / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1488, allocations: 0 / 0.6841 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.1489, allocations: 157.6 kB / 0.6842 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1489, allocations: 0 / 0.6842 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.669e-05/0.149, allocations: 4 kB / 0.6842 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.149, allocations: 7.938 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.149, allocations: 0 / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.149, allocations: 0 / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.149, allocations: 4 kB / 0.6842 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.1492, allocations: 85.02 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-05/0.1492, allocations: 81.05 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.1492, allocations: 4.031 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.283e-05/0.1493, allocations: 4 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.1493, allocations: 7.875 kB / 0.6844 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.1493, allocations: 7.984 kB / 0.6844 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.636e-05/0.1494, allocations: 79.34 kB / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1494, allocations: 0 / 0.6845 GB, free: 11.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.1496, allocations: 24 kB / 0.6845 GB, free: 11.76 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.0005181/0.1501, allocations: 0.6359 MB / 0.6851 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.285e-05/0.1502, allocations: 24.14 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1502, allocations: 4.062 kB / 0.6852 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.858e-05/0.1503, allocations: 8 kB / 0.6852 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.1504, allocations: 4 kB / 0.6852 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000935/0.1514, allocations: 1.128 MB / 0.6863 GB, free: 9.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.1516, allocations: 0.6768 MB / 0.6869 GB, free: 9.137 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.025e-05/0.1516, allocations: 8 kB / 0.687 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.368e-05/0.1517, allocations: 17.27 kB / 0.687 GB, free: 9.113 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1517, allocations: 0 / 0.687 GB, free: 9.113 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2949/0.4466, allocations: 1.733 MB / 0.6887 GB, free: 7.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.789, allocations: 19.62 kB / 0.6887 GB, free: 7.527 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)