Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8047/0.8047, 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.0009913/0.0009913, allocations: 180.8 kB / 182.2 MB, free: 9.453 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.416/1.416, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.000949/0.000949, allocations: 80.14 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 278.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.59e-05/1.584e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3773, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.5062, allocations: 108.1 MB / 0.8629 GB, free: 3.789 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001832/0.5065, allocations: 71.84 kB / 0.863 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00445/0.5109, allocations: 1.568 MB / 0.8645 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5109, allocations: 0 / 0.8645 GB, free: 2.152 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.511, allocations: 0 / 0.8645 GB, free: 2.152 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003357/0.5113, allocations: 358.4 kB / 0.8649 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.5113, allocations: 12.03 kB / 0.8649 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.131e-05/0.5114, allocations: 0 / 0.8649 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5115, allocations: 170.9 kB / 0.8651 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.5115, allocations: 3.953 kB / 0.8651 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-06/0.5115, allocations: 7.938 kB / 0.8651 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.394e-05/0.5116, allocations: 8 kB / 0.8651 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.792e-05/0.5116, allocations: 33.7 kB / 0.8651 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5117, allocations: 0 / 0.8651 GB, free: 1.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.5117, allocations: 4 kB / 0.8651 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.5117, allocations: 4 kB / 0.8651 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.512, allocations: 245.4 kB / 0.8654 GB, free: 1.195 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 4.726e-05/0.5121, allocations: 22.58 kB / 0.8654 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.16e-05/0.5121, allocations: 12.92 kB / 0.8654 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005786/0.5127, allocations: 449.5 kB / 0.8658 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.5128, allocations: 30.56 kB / 0.8658 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5128, allocations: 0 / 0.8658 GB, free: 0.5781 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001701/0.5129, allocations: 45.69 kB / 0.8659 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.513, allocations: 51.41 kB / 0.8659 GB, free: 476 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.373e-05/0.513, allocations: 92.94 kB / 0.866 GB, free: 376 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.5131, allocations: 25.7 kB / 0.8661 GB, free: 344 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.5131, allocations: 84.14 kB / 0.8661 GB, free: 256 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.5131, allocations: 11.89 kB / 0.8661 GB, free: 244 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.5131, allocations: 0 / 0.8661 GB, free: 244 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5133, allocations: 310.8 kB / 0.8664 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.5133, allocations: 8 kB / 0.8664 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.838e-06/0.5133, allocations: 4.031 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.5133, allocations: 4 kB / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5133, allocations: 0 / 0.8665 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.654e-05/0.5134, allocations: 45.66 kB / 0.8665 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5134, allocations: 9.391 kB / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.5134, allocations: 0 / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.5135, allocations: 0 / 0.8665 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.701e-05/0.5136, allocations: 8 kB / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.5136, allocations: 4.094 kB / 0.8665 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.5136, allocations: 15.92 kB / 0.8665 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.5136, allocations: 0 / 0.8665 GB, free: 15.82 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 (2): * Single equations (assignments): 2 * 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.426e-05/0.5137, allocations: 104.9 kB / 0.8666 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.5138, allocations: 15.86 kB / 0.8666 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5139, allocations: 45.44 kB / 0.8667 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.5139, allocations: 0 / 0.8667 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.5139, allocations: 8.031 kB / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.5139, allocations: 0 / 0.8667 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001351/0.514, allocations: 138.2 kB / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5141, allocations: 0 / 0.8668 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.54e-05/0.5141, allocations: 12 kB / 0.8668 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.5141, allocations: 0 / 0.8668 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.5142, allocations: 15.88 kB / 0.8669 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5142, allocations: 0 / 0.8669 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5142, allocations: 0 / 0.8669 GB, free: 15.44 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.5143, allocations: 135.7 kB / 0.867 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.551e-05/0.5144, allocations: 85.09 kB / 0.8671 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.5144, allocations: 3.984 kB / 0.8671 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.5145, allocations: 7.953 kB / 0.8671 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.5145, allocations: 7.984 kB / 0.8671 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.5145, allocations: 0 / 0.8671 GB, free: 15.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.594e-05/0.5146, allocations: 87.31 kB / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5146, allocations: 0 / 0.8672 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002521/0.5148, allocations: 23.94 kB / 0.8672 GB, free: 15.06 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000206/0.5151, allocations: 127.2 kB / 0.8673 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.717e-05/0.5151, allocations: 16 kB / 0.8673 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.5151, allocations: 0 / 0.8673 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.5152, allocations: 7.938 kB / 0.8673 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.5153, allocations: 4 kB / 0.8673 GB, free: 14.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000159/0.5155, allocations: 59.94 kB / 0.8674 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.5157, allocations: 0.6768 MB / 0.8681 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.066e-05/0.5157, allocations: 0 / 0.8681 GB, free: 14.12 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.5158, allocations: 15.56 kB / 0.8681 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.5158, allocations: 0 / 0.8681 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of Templates: time 0.002255/0.518, allocations: 0.5319 MB / 0.8686 GB, free: 13.57 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)