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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 102.1 kB / 19.59 MB, free: 2.328 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002347/0.002347, allocations: 218.5 kB / 22.88 MB, free: 5.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.5 MB / 256.5 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002528/0.002528, allocations: 286.9 kB / 313.2 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.245/1.245, allocations: 180.8 MB / 0.5376 GB, free: 12.91 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00307/0.00307, allocations: 108.4 kB / 0.7406 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1868/0.1899, allocations: 95.38 MB / 0.8338 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001751/0.1916, allocations: 0.631 MB / 0.8344 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007409/0.1924, allocations: 363.1 kB / 0.8347 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.758e-05/0.1924, allocations: 0 / 0.8347 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.91e-05/0.1924, allocations: 0 / 0.8347 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.358e-05/0.1924, allocations: 3.938 kB / 0.8347 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004699/0.1929, allocations: 119.6 kB / 0.8348 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.193, allocations: 23.92 kB / 0.8349 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.193, allocations: 7.984 kB / 0.8349 GB, free: 6.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.269e-05/0.1931, allocations: 11.94 kB / 0.8349 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.113e-05/0.1931, allocations: 23.84 kB / 0.8349 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1932, allocations: 0 / 0.8349 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.1936, allocations: 275.7 kB / 0.8352 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.1936, allocations: 4 kB / 0.8352 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.457e-05/0.1936, allocations: 11.92 kB / 0.8352 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1938, allocations: 107.6 kB / 0.8353 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1938, allocations: 0 / 0.8353 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1938, allocations: 0 / 0.8353 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.1938, allocations: 0 / 0.8353 GB, free: 6.309 MB / 0.5762 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.0004364/0.1942, allocations: 295.6 kB / 0.8356 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.1943, allocations: 8.75 kB / 0.8356 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.065e-05/0.1943, allocations: 8.891 kB / 0.8356 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1944, allocations: 106.5 kB / 0.8357 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.1945, allocations: 384 / 0.8357 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.1945, allocations: 4.375 kB / 0.8357 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1946, allocations: 109.6 kB / 0.8358 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1947, allocations: 192 / 0.8358 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1947, allocations: 7.875 kB / 0.8358 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1947, allocations: 4 kB / 0.8358 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.232e-05/0.1947, allocations: 19.98 kB / 0.8358 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001818/0.1949, allocations: 136.7 kB / 0.8359 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.195, allocations: 58.62 kB / 0.836 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/0.1951, allocations: 28.84 kB / 0.836 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005538/0.1956, allocations: 75.92 kB / 0.8361 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.1957, allocations: 46.48 kB / 0.8361 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.1957, allocations: 0 / 0.8361 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001266/0.1969, allocations: 455.7 kB / 0.8366 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/0.197, allocations: 55.39 kB / 0.8366 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.558e-05/0.197, allocations: 97.86 kB / 0.8367 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.1971, allocations: 25.7 kB / 0.8368 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.1971, allocations: 84.14 kB / 0.8368 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/0.1972, allocations: 47.64 kB / 0.8369 GB, free: 4.445 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.1972, allocations: 25.7 kB / 0.8369 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1973, allocations: 314.8 kB / 0.8372 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.66e-05/0.1974, allocations: 23.98 kB / 0.8372 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.1974, allocations: 20 kB / 0.8372 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.1975, allocations: 64.47 kB / 0.8373 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1975, allocations: 0 / 0.8373 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001734/0.1977, allocations: 101.5 kB / 0.8374 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1977, allocations: 6.188 kB / 0.8374 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1977, allocations: 4 kB / 0.8374 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1977, allocations: 4 kB / 0.8374 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1978, allocations: 19.98 kB / 0.8374 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.1978, allocations: 0 / 0.8374 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.944e-05/0.1979, allocations: 8 kB / 0.8374 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.1979, allocations: 0 / 0.8374 GB, free: 3.848 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.482e-05/0.198, allocations: 118.4 kB / 0.8376 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.198, allocations: 11.92 kB / 0.8376 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000205/0.1982, allocations: 109.7 kB / 0.8377 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1982, allocations: 4 kB / 0.8377 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1982, allocations: 0 / 0.8377 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1982, allocations: 0 / 0.8377 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.1986, allocations: 321.5 kB / 0.838 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1986, allocations: 7.938 kB / 0.838 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.1987, allocations: 19.98 kB / 0.838 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1987, allocations: 0 / 0.838 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.1987, allocations: 4 kB / 0.838 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1988, allocations: 4 kB / 0.838 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1988, allocations: 4 kB / 0.838 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.199, allocations: 219.3 kB / 0.8382 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.1991, allocations: 7.984 kB / 0.8382 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/0.1991, allocations: 11.98 kB / 0.8383 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.258e-05/0.1992, allocations: 0 / 0.8383 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/0.1992, allocations: 7.984 kB / 0.8383 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1992, allocations: 8 kB / 0.8383 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.196e-05/0.1992, allocations: 79.34 kB / 0.8383 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1992, allocations: 0 / 0.8383 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002861/0.1995, allocations: 51.8 kB / 0.8384 GB, free: 2.793 MB / 0.5762 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 (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.000238/0.1998, allocations: 131.2 kB / 0.8385 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.1999, allocations: 59.86 kB / 0.8386 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1999, allocations: 0 / 0.8386 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.53e-05/0.2, allocations: 36.36 kB / 0.8386 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.2002, allocations: 8 kB / 0.8386 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.2006, allocations: 174.4 kB / 0.8388 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.2006, allocations: 68.05 kB / 0.8388 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.074e-05/0.2007, allocations: 11.92 kB / 0.8389 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.2007, allocations: 11.77 kB / 0.8389 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of SimCode: time 4.51e-07/0.2007, allocations: 4 kB / 0.8389 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of Templates: time 0.004449/0.2052, allocations: 1.471 MB / 0.8403 GB, free: 0.8086 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.198299919000419] Failed to read output from testmodel.py, exit status != 0: 0.2124718849954661 0.22698805700000002 0.030223907 Calling exit ...