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.8703/0.8703, allocations: 143.4 MB / 158.3 MB, free: 5.777 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.001093/0.001093, allocations: 173 kB / 191.5 MB, free: 5.754 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.531/1.531, allocations: 223.2 MB / 447.7 MB, free: 4.824 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.0008797/0.0008797, allocations: 96.31 kB / 0.5187 GB, free: 1.184 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001962/0.001962, allocations: 270.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004334, allocations: 20.36 kB / 0.6929 GB, free: 59.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1644, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.3228, allocations: 108.8 MB / 0.88 GB, free: 0.7969 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.3231, allocations: 75.95 kB / 0.8801 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3646/0.6878, allocations: 5.107 MB / 0.8851 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6878, allocations: 0 / 0.8851 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.6878, allocations: 0 / 0.8851 GB, free: 109 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.0003263/0.6882, allocations: 365.9 kB / 0.8855 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.6882, allocations: 9.391 kB / 0.8855 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.055e-05/0.6883, allocations: 41.98 kB / 0.8855 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.6883, allocations: 10.5 kB / 0.8855 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.571e-05/0.6884, allocations: 160.8 kB / 0.8857 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.6884, allocations: 11.59 kB / 0.8857 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.6884, allocations: 2.562 kB / 0.8857 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.6885, allocations: 50.05 kB / 0.8857 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.6886, allocations: 0 / 0.8857 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.6886, allocations: 0 / 0.8857 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6886, allocations: 2.719 kB / 0.8857 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.202e-05/0.6886, allocations: 22.02 kB / 0.8858 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.6888, allocations: 171.8 kB / 0.8859 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.079e-05/0.6889, allocations: 63.97 kB / 0.886 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005103/0.6894, allocations: 459 kB / 0.8864 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.6894, allocations: 37 kB / 0.8865 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.6894, allocations: 0 / 0.8865 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.00112/0.6906, allocations: 0.586 MB / 0.887 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.6906, allocations: 58.31 kB / 0.8871 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.508e-05/0.6907, allocations: 94.67 kB / 0.8872 GB, free: 107 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.6907, allocations: 28.83 kB / 0.8872 GB, free: 107 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.828e-05/0.6907, allocations: 84.64 kB / 0.8873 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.6907, allocations: 39.17 kB / 0.8873 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-06/0.6908, allocations: 0 / 0.8873 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.6908, allocations: 318.6 kB / 0.8876 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.935e-05/0.6909, allocations: 19.61 kB / 0.8876 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.317e-05/0.6909, allocations: 23.97 kB / 0.8877 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.207e-05/0.6909, allocations: 25.53 kB / 0.8877 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6909, allocations: 0 / 0.8877 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001315/0.6911, allocations: 100.9 kB / 0.8878 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.6911, allocations: 6.375 kB / 0.8878 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6911, allocations: 0 / 0.8878 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.6911, allocations: 3.812 kB / 0.8878 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.6912, allocations: 21.59 kB / 0.8878 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.6913, allocations: 3.625 kB / 0.8878 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.189e-05/0.6913, allocations: 0 / 0.8878 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.6913, allocations: 6.094 kB / 0.8878 GB, free: 106.5 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.621e-05/0.6914, allocations: 119.9 kB / 0.8879 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.56e-05/0.6914, allocations: 7.734 kB / 0.8879 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.6916, allocations: 118.8 kB / 0.8881 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.6916, allocations: 3.219 kB / 0.8881 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6916, allocations: 0 / 0.8881 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.6916, allocations: 1.125 kB / 0.8881 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.692, allocations: 357.5 kB / 0.8884 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.692, allocations: 4.609 kB / 0.8884 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.6921, allocations: 27.83 kB / 0.8884 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6921, allocations: 0 / 0.8884 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6921, allocations: 7.5 kB / 0.8884 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.6921, allocations: 0 / 0.8884 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6921, allocations: 0 / 0.8884 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.6923, allocations: 213.9 kB / 0.8886 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.6924, allocations: 91.27 kB / 0.8887 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.6924, allocations: 7.203 kB / 0.8887 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.6925, allocations: 4.359 kB / 0.8887 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.6925, allocations: 11.75 kB / 0.8888 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.6925, allocations: 3.375 kB / 0.8888 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.004e-05/0.6926, allocations: 79.09 kB / 0.8888 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.6926, allocations: 0 / 0.8888 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002817/0.6929, allocations: 56.06 kB / 0.8889 GB, free: 105.7 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 () * 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 (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.0005091/0.6934, allocations: 0.8091 MB / 0.8897 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001281/0.6935, allocations: 71.25 kB / 0.8897 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6935, allocations: 0 / 0.8897 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.6936, allocations: 33.38 kB / 0.8898 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.6937, allocations: 6.328 kB / 0.8898 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.6944, allocations: 0.5198 MB / 0.8903 GB, free: 104.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.6945, allocations: 0.6918 MB / 0.891 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.6946, allocations: 11.88 kB / 0.891 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.913e-05/0.6946, allocations: 18.12 kB / 0.891 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6946, allocations: 0 / 0.891 GB, free: 103.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.7089, allocations: 2.175 MB / 0.8931 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001426/0.7091, allocations: 235.1 kB / 0.8933 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.277, allocations: 0 / 0.8933 GB, free: 103.5 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)