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: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.837/0.837, 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.001189/0.001189, allocations: 181.1 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.549/1.549, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0009874/0.000987, allocations: 92.33 kB / 0.5188 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 273.9 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005766/0.0005765, allocations: 16.75 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2002, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.3621, allocations: 108.8 MB / 0.88 GB, free: 0.8945 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3625, allocations: 73.98 kB / 0.88 GB, free: 0.8242 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3587/0.7212, allocations: 5.106 MB / 0.885 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.545e-06/0.7212, allocations: 0 / 0.885 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.7213, allocations: 6.875 kB / 0.885 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.0003695/0.7216, allocations: 360.8 kB / 0.8854 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.7217, allocations: 6.531 kB / 0.8854 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.7217, allocations: 7.812 kB / 0.8854 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.368e-05/0.7218, allocations: 167.7 kB / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.7219, allocations: 3.953 kB / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.7219, allocations: 6.75 kB / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.722, allocations: 46.83 kB / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.722, allocations: 4 kB / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.722, allocations: 0.5625 kB / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7221, allocations: 0 / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.334e-05/0.7221, allocations: 19.48 kB / 0.8856 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.7223, allocations: 163.6 kB / 0.8858 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 9.898e-05/0.7224, allocations: 63.5 kB / 0.8859 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005281/0.7229, allocations: 463.9 kB / 0.8863 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.7229, allocations: 34.25 kB / 0.8863 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.723, allocations: 3.938 kB / 0.8863 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=11): time 0.001147/0.7241, allocations: 0.592 MB / 0.8869 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.7241, allocations: 52.06 kB / 0.887 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.015e-05/0.7242, allocations: 99.47 kB / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.7242, allocations: 25.7 kB / 0.8871 GB, free: 107 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.14e-05/0.7242, allocations: 91.95 kB / 0.8872 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.7243, allocations: 36.95 kB / 0.8872 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.7243, allocations: 0 / 0.8872 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.7243, allocations: 317.1 kB / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.7244, allocations: 28.08 kB / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.664e-05/0.7244, allocations: 25.16 kB / 0.8876 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.239e-05/0.7245, allocations: 23.34 kB / 0.8876 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.7245, allocations: 3.938 kB / 0.8876 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001391/0.7246, allocations: 101 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.7247, allocations: 9.5 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.7247, allocations: 0.6094 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.7247, allocations: 3.5 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.7248, allocations: 22.52 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.7248, allocations: 0.5156 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.433e-05/0.7248, allocations: 5.344 kB / 0.8877 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.7249, allocations: 3.266 kB / 0.8877 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 5.442e-05/0.7249, allocations: 112.9 kB / 0.8878 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.7249, allocations: 7.75 kB / 0.8878 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001858/0.7251, allocations: 104.1 kB / 0.8879 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.7251, allocations: 1.562 kB / 0.8879 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7252, allocations: 5.562 kB / 0.8879 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.7252, allocations: 1.078 kB / 0.8879 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.7255, allocations: 353.4 kB / 0.8883 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7255, allocations: 0 / 0.8883 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.7256, allocations: 20.05 kB / 0.8883 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.7256, allocations: 2.781 kB / 0.8883 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.7256, allocations: 8.453 kB / 0.8883 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7256, allocations: 0 / 0.8883 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7256, allocations: 2.594 kB / 0.8883 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.7259, allocations: 227.2 kB / 0.8885 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.7259, allocations: 87.66 kB / 0.8886 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.7259, allocations: 2.562 kB / 0.8886 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.921e-05/0.726, allocations: 4.5 kB / 0.8886 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.726, allocations: 5.719 kB / 0.8886 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.726, allocations: 7.609 kB / 0.8886 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.123e-05/0.7261, allocations: 82.73 kB / 0.8887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7261, allocations: 0 / 0.8887 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002598/0.7263, allocations: 59.97 kB / 0.8888 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.0002553/0.7266, allocations: 154.5 kB / 0.8889 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.7267, allocations: 69.22 kB / 0.889 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7268, allocations: 0 / 0.889 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.345e-05/0.7268, allocations: 34.58 kB / 0.889 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.7269, allocations: 9.672 kB / 0.889 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003034/0.7273, allocations: 192.5 kB / 0.8892 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.7274, allocations: 0.6904 MB / 0.8899 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.118e-05/0.7274, allocations: 15.92 kB / 0.8899 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.456e-05/0.7275, allocations: 12.77 kB / 0.8899 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.7275, allocations: 1.438 kB / 0.8899 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.003702/0.7312, allocations: 1.307 MB / 0.8912 GB, free: 104.6 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)