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.001165/0.001165, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001172/0.001172, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.172/1.172, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001866/0.001866, allocations: 286.8 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.845/0.845, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 99.44 kB / 0.5948 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1334, allocations: 86.98 MB / 0.6797 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001785/0.1352, allocations: 0.6757 MB / 0.6804 GB, free: 296 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000745/0.136, allocations: 358.9 kB / 0.6807 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.136, allocations: 0 / 0.6807 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.136, allocations: 4.594 kB / 0.6808 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.1361, allocations: 3.938 kB / 0.6808 GB, free: 15.93 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.1365, allocations: 101.5 kB / 0.6809 GB, free: 15.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.292e-05/0.1365, allocations: 15.98 kB / 0.6809 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.61e-05/0.1366, allocations: 5.156 kB / 0.6809 GB, free: 15.81 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.127e-05/0.1366, allocations: 15.81 kB / 0.6809 GB, free: 15.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.168e-05/0.1367, allocations: 16.64 kB / 0.6809 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1367, allocations: 4 kB / 0.6809 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.137, allocations: 276.3 kB / 0.6812 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.137, allocations: 5.562 kB / 0.6812 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.1371, allocations: 15.92 kB / 0.6812 GB, free: 15.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1372, allocations: 99.77 kB / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.1372, allocations: 0 / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.826e-06/0.1372, allocations: 0 / 0.6813 GB, free: 15.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.1372, allocations: 4.438 kB / 0.6813 GB, free: 15.39 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003845/0.1376, allocations: 367.5 kB / 0.6816 GB, free: 14.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1377, allocations: 8.031 kB / 0.6816 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.109e-05/0.1377, allocations: 38.69 kB / 0.6817 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.1378, allocations: 8.844 kB / 0.6817 GB, free: 14.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.1379, allocations: 160.4 kB / 0.6818 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.1379, allocations: 8.375 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1379, allocations: 4.375 kB / 0.6819 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.138, allocations: 50.22 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.138, allocations: 11.94 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.138, allocations: 4 kB / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.138, allocations: 0 / 0.6819 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.598e-05/0.1381, allocations: 23.92 kB / 0.6819 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.1383, allocations: 169.5 kB / 0.6821 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.57e-05/0.1384, allocations: 50.56 kB / 0.6822 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.1384, allocations: 28.84 kB / 0.6822 GB, free: 14.31 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006115/0.139, allocations: 465.5 kB / 0.6826 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.102e-05/0.1391, allocations: 30.56 kB / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1391, allocations: 0 / 0.6827 GB, free: 13.72 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001138/0.1402, allocations: 0.5956 MB / 0.6832 GB, free: 13.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1402, allocations: 55.41 kB / 0.6833 GB, free: 12.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.1403, allocations: 97.86 kB / 0.6834 GB, free: 12.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1403, allocations: 25.7 kB / 0.6834 GB, free: 12.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.1404, allocations: 88.14 kB / 0.6835 GB, free: 12.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1404, allocations: 35.45 kB / 0.6835 GB, free: 12.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.1404, allocations: 29.7 kB / 0.6836 GB, free: 12.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.1405, allocations: 314.8 kB / 0.6839 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.87e-05/0.1406, allocations: 23.98 kB / 0.6839 GB, free: 12.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.1406, allocations: 19.98 kB / 0.6839 GB, free: 12.31 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.1407, allocations: 55.73 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1407, allocations: 0 / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001531/0.1409, allocations: 113.5 kB / 0.6841 GB, free: 12.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.1409, allocations: 7.984 kB / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.1409, allocations: 0 / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.1409, allocations: 0 / 0.6841 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.141, allocations: 20 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.141, allocations: 0 / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.1411, allocations: 0 / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1411, allocations: 4 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB 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 7.58e-05/0.1411, allocations: 114.6 kB / 0.6842 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.1412, allocations: 23.81 kB / 0.6842 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.1414, allocations: 113.4 kB / 0.6843 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1414, allocations: 0 / 0.6843 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1414, allocations: 0 / 0.6843 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1414, allocations: 3.984 kB / 0.6843 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.1417, allocations: 366.5 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1417, allocations: 0 / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.741e-05/0.1418, allocations: 16 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1418, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.1419, allocations: 8 kB / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1419, allocations: 0 / 0.6847 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1419, allocations: 3.984 kB / 0.6847 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1421, allocations: 219.3 kB / 0.6849 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.1422, allocations: 93.03 kB / 0.685 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.1422, allocations: 0 / 0.685 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.1423, allocations: 0 / 0.685 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.1423, allocations: 12.05 kB / 0.685 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.1423, allocations: 8 kB / 0.685 GB, free: 11.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.754e-05/0.1423, allocations: 79.28 kB / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1423, allocations: 0 / 0.6851 GB, free: 10.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1426, allocations: 43.98 kB / 0.6851 GB, free: 10.92 MB / 494.1 MB 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.0005389/0.1431, allocations: 0.7911 MB / 0.6859 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001294/0.1433, allocations: 67.97 kB / 0.686 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1433, allocations: 0 / 0.686 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.388e-05/0.1433, allocations: 35.92 kB / 0.686 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.1435, allocations: 9.625 kB / 0.686 GB, free: 9.996 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.1446, allocations: 1.396 MB / 0.6874 GB, free: 8.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1448, allocations: 0.6923 MB / 0.6881 GB, free: 7.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.327e-05/0.1449, allocations: 12.05 kB / 0.6881 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/0.1449, allocations: 19.44 kB / 0.6881 GB, free: 7.777 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1449, allocations: 0 / 0.6881 GB, free: 7.777 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1337/0.2786, allocations: 2.394 MB / 0.6904 GB, free: 5.59 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.2788, allocations: 247.3 kB / 0.6907 GB, free: 5.336 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/2.517, allocations: 2.812 kB / 0.6907 GB, free: 5.336 MB / 494.1 MB (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)