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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.906/0.906, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001172, allocations: 183.3 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.678/1.678, allocations: 221.3 MB / 441.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 102.3 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002434/0.002433, allocations: 273.5 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 5.155e-05/5.157e-05, allocations: 11.98 kB / 0.6836 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5991/0.5992, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1494/0.7487, allocations: 108.7 MB / 0.8706 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.749, allocations: 84.75 kB / 0.8706 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01448/0.7635, allocations: 5.095 MB / 0.8756 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7635, allocations: 0 / 0.8756 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.884e-06/0.7636, allocations: 0 / 0.8756 GB, free: 10.65 MB / 0.5417 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.0003817/0.7639, allocations: 362.4 kB / 0.876 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.764, allocations: 8.031 kB / 0.876 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.07e-05/0.7641, allocations: 46.5 kB / 0.876 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.262e-05/0.7641, allocations: 4 kB / 0.876 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.7643, allocations: 170.9 kB / 0.8762 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.7643, allocations: 7.953 kB / 0.8762 GB, free: 9.969 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.7644, allocations: 8 kB / 0.8762 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.7645, allocations: 47.97 kB / 0.8762 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.7645, allocations: 4 kB / 0.8762 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.7646, allocations: 0 / 0.8762 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.7646, allocations: 0 / 0.8762 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.514e-05/0.7646, allocations: 16 kB / 0.8763 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.7648, allocations: 173.6 kB / 0.8764 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.765, allocations: 58.53 kB / 0.8765 GB, free: 9.605 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.765, allocations: 32.78 kB / 0.8765 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.7657, allocations: 461.5 kB / 0.877 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.7657, allocations: 30.56 kB / 0.877 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.7657, allocations: 0 / 0.877 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001284/0.767, allocations: 0.5659 MB / 0.8775 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.7671, allocations: 51.41 kB / 0.8776 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.7672, allocations: 93 kB / 0.8777 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.7672, allocations: 25.7 kB / 0.8777 GB, free: 8.141 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/0.7673, allocations: 80.23 kB / 0.8778 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.7673, allocations: 47.39 kB / 0.8778 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.7673, allocations: 0 / 0.8778 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.7675, allocations: 314.8 kB / 0.8781 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.7675, allocations: 20 kB / 0.8781 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.34e-05/0.7676, allocations: 27.98 kB / 0.8782 GB, free: 7.648 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.457e-05/0.7677, allocations: 18.75 kB / 0.8782 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7677, allocations: 3.953 kB / 0.8782 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002069/0.7679, allocations: 101.6 kB / 0.8783 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.7679, allocations: 4 kB / 0.8783 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7679, allocations: 0 / 0.8783 GB, free: 7.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.768, allocations: 7.938 kB / 0.8783 GB, free: 7.512 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.7681, allocations: 16 kB / 0.8783 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.7681, allocations: 3.984 kB / 0.8783 GB, free: 7.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.072e-05/0.7682, allocations: 8 kB / 0.8783 GB, free: 7.484 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.7682, allocations: 4 kB / 0.8783 GB, free: 7.48 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.7683, allocations: 112.9 kB / 0.8784 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.7683, allocations: 7.859 kB / 0.8784 GB, free: 7.355 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.7686, allocations: 105 kB / 0.8785 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7686, allocations: 0 / 0.8785 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.7686, allocations: 4 kB / 0.8785 GB, free: 7.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.7687, allocations: 3.984 kB / 0.8785 GB, free: 7.246 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005611/0.7692, allocations: 362.4 kB / 0.8789 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.7692, allocations: 0 / 0.8789 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/0.7694, allocations: 20 kB / 0.8789 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.7694, allocations: 0 / 0.8789 GB, free: 6.816 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.7694, allocations: 4 kB / 0.8789 GB, free: 6.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.7695, allocations: 3.984 kB / 0.8789 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.7695, allocations: 0 / 0.8789 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.7698, allocations: 219.3 kB / 0.8791 GB, free: 6.578 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.77, allocations: 93.03 kB / 0.8792 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.77, allocations: 0 / 0.8792 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.7701, allocations: 7.984 kB / 0.8792 GB, free: 6.461 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.7702, allocations: 11.94 kB / 0.8792 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.7702, allocations: 0 / 0.8792 GB, free: 6.449 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.447e-05/0.7702, allocations: 83.45 kB / 0.8793 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7702, allocations: 0 / 0.8793 GB, free: 6.367 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004444/0.7707, allocations: 51.94 kB / 0.8794 GB, free: 6.316 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009739/0.7717, allocations: 0.8101 MB / 0.8802 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001862/0.7719, allocations: 55.98 kB / 0.8802 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7719, allocations: 0 / 0.8802 GB, free: 5.422 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.772, allocations: 35.94 kB / 0.8802 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.7722, allocations: 4.609 kB / 0.8802 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.7729, allocations: 213.2 kB / 0.8805 GB, free: 5.141 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.7733, allocations: 0.6888 MB / 0.8811 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 6.459e-05/0.7734, allocations: 7.984 kB / 0.8811 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.7734, allocations: 15.44 kB / 0.8811 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of SimCode: time 2.605e-06/0.7735, allocations: 0 / 0.8811 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.7942, allocations: 2.203 MB / 0.8833 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/0.7946, allocations: 189.2 kB / 0.8835 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.581, allocations: 4.062 kB / 0.8835 GB, free: 2.188 MB / 0.5417 GB (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/linux/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)