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.8523/0.8523, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 176.9 kB / 182.2 MB, free: 9.457 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.544/1.544, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.0009674/0.0009674, allocations: 99.41 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001827/0.001827, allocations: 283.1 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.422e-05, allocations: 8 kB / 0.6767 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6042/0.6043, allocations: 82.77 MB / 0.7575 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.7521, allocations: 108.1 MB / 0.863 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.7525, allocations: 79.94 kB / 0.8631 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.7672, allocations: 5.091 MB / 0.8681 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7673, allocations: 0 / 0.8681 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.7673, allocations: 4 kB / 0.8681 GB, free: 14.62 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.0003996/0.7677, allocations: 358.4 kB / 0.8684 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.7678, allocations: 8.031 kB / 0.8684 GB, free: 14.22 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.584e-05/0.7678, allocations: 7.906 kB / 0.8684 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.768, allocations: 167 kB / 0.8686 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.768, allocations: 11.95 kB / 0.8686 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.768, allocations: 3.938 kB / 0.8686 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.83e-05/0.7681, allocations: 19.98 kB / 0.8686 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.7683, allocations: 45.69 kB / 0.8687 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.7683, allocations: 0 / 0.8687 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.7683, allocations: 0 / 0.8687 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.7683, allocations: 0 / 0.8687 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001768/0.7685, allocations: 146.2 kB / 0.8688 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.72e-05/0.7686, allocations: 54.56 kB / 0.8688 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.7686, allocations: 24.86 kB / 0.8689 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.7693, allocations: 465.4 kB / 0.8693 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.7693, allocations: 38.52 kB / 0.8693 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.7693, allocations: 3.938 kB / 0.8693 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001025/0.7704, allocations: 0.5127 MB / 0.8699 GB, free: 12.45 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.7704, allocations: 55.41 kB / 0.8699 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.105e-05/0.7705, allocations: 100.9 kB / 0.87 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.7705, allocations: 25.7 kB / 0.87 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.482e-05/0.7706, allocations: 84.14 kB / 0.8701 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.7706, allocations: 35.45 kB / 0.8701 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.7706, allocations: 0 / 0.8701 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7708, allocations: 314.8 kB / 0.8704 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.7708, allocations: 16 kB / 0.8705 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.979e-05/0.7708, allocations: 16 kB / 0.8705 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.524e-05/0.7709, allocations: 25.48 kB / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.7709, allocations: 4 kB / 0.8705 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001586/0.7711, allocations: 89.64 kB / 0.8706 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7711, allocations: 4.938 kB / 0.8706 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.7711, allocations: 0 / 0.8706 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.7711, allocations: 0 / 0.8706 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.7713, allocations: 27.92 kB / 0.8706 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.7713, allocations: 3.75 kB / 0.8706 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.7713, allocations: 0 / 0.8706 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.7713, allocations: 4 kB / 0.8706 GB, free: 11.62 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 9.155e-05/0.7714, allocations: 109 kB / 0.8707 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001567/0.7716, allocations: 89.47 kB / 0.8708 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.13e-05/0.7716, allocations: 4 kB / 0.8708 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.7718, allocations: 101.9 kB / 0.8709 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.7718, allocations: 0 / 0.8709 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7718, allocations: 0 / 0.8709 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.7718, allocations: 3.984 kB / 0.8709 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004006/0.7723, allocations: 315.4 kB / 0.8712 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7723, allocations: 3.938 kB / 0.8712 GB, free: 10.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.7724, allocations: 27.92 kB / 0.8712 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.7724, allocations: 4.188 kB / 0.8713 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.7724, allocations: 0 / 0.8713 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7724, allocations: 0 / 0.8713 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7724, allocations: 0 / 0.8713 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.7727, allocations: 216.8 kB / 0.8715 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.7728, allocations: 85.12 kB / 0.8715 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.7728, allocations: 0 / 0.8715 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/0.7729, allocations: 12.06 kB / 0.8716 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.686e-05/0.7729, allocations: 3.984 kB / 0.8716 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.7729, allocations: 8 kB / 0.8716 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.773, allocations: 79.28 kB / 0.8716 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.773, allocations: 3.938 kB / 0.8716 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002924/0.7733, allocations: 47.92 kB / 0.8717 GB, free: 10.43 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.0006809/0.774, allocations: 0.8026 MB / 0.8725 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001272/0.7741, allocations: 51.94 kB / 0.8725 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7741, allocations: 0 / 0.8725 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.927e-05/0.7742, allocations: 32.05 kB / 0.8726 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001489/0.7743, allocations: 3.984 kB / 0.8726 GB, free: 9.516 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.7748, allocations: 185.8 kB / 0.8727 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.7751, allocations: 0.6924 MB / 0.8734 GB, free: 8.574 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.293e-05/0.7751, allocations: 11.98 kB / 0.8734 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.7752, allocations: 15.44 kB / 0.8734 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.7752, allocations: 0 / 0.8734 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.7964, allocations: 1.875 MB / 0.8753 GB, free: 6.703 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.7967, allocations: 177.2 kB / 0.8754 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.395, allocations: 2.688 kB / 0.8754 GB, free: 6.516 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)