Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.739/0.739, allocations: 128.7 MB / 143.7 MB, free: 2.324 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.4 kB / 173.8 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008479/0.0008476, allocations: 86.88 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 13.81 kB / 0.5603 GB, free: 97.55 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.1831, allocations: 76.77 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.3299, allocations: 102.8 MB / 0.7357 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/0.3304, allocations: 71.95 kB / 0.7358 GB, free: 7.543 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005216/0.3356, allocations: 1.628 MB / 0.7374 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3356, allocations: 0 / 0.7374 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.3356, allocations: 0 / 0.7374 GB, free: 5.91 MB / 0.5105 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.0004207/0.3361, allocations: 355.3 kB / 0.7377 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.3361, allocations: 8.031 kB / 0.7377 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.3362, allocations: 7.859 kB / 0.7377 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3363, allocations: 175 kB / 0.7379 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.3363, allocations: 0 / 0.7379 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.3363, allocations: 0 / 0.7379 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.3365, allocations: 53.67 kB / 0.7379 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3366, allocations: 0 / 0.7379 GB, free: 5.23 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3366, allocations: 3.938 kB / 0.7379 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3366, allocations: 4 kB / 0.738 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001809/0.3368, allocations: 47.91 kB / 0.738 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.3372, allocations: 272.9 kB / 0.7383 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.3374, allocations: 38.56 kB / 0.7383 GB, free: 4.812 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005945/0.338, allocations: 453.5 kB / 0.7387 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.338, allocations: 30.56 kB / 0.7388 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.338, allocations: 7.875 kB / 0.7388 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003851/0.3384, allocations: 97.73 kB / 0.7389 GB, free: 4.129 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3384, allocations: 59.36 kB / 0.7389 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.3385, allocations: 93 kB / 0.739 GB, free: 3.961 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.3385, allocations: 25.7 kB / 0.739 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.3386, allocations: 84.05 kB / 0.7391 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.3386, allocations: 7.922 kB / 0.7391 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.3387, allocations: 0 / 0.7391 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3388, allocations: 325 kB / 0.7394 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.881e-05/0.3389, allocations: 15.98 kB / 0.7394 GB, free: 3.496 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.339, allocations: 23.98 kB / 0.7395 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.801e-05/0.3391, allocations: 20.05 kB / 0.7395 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3391, allocations: 3.938 kB / 0.7395 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001929/0.3393, allocations: 77.56 kB / 0.7396 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.3393, allocations: 8 kB / 0.7396 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3393, allocations: 4.031 kB / 0.7396 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3394, allocations: 0 / 0.7396 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.993e-05/0.3395, allocations: 11.98 kB / 0.7396 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.3395, allocations: 0 / 0.7396 GB, free: 3.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.718e-05/0.3395, allocations: 19.94 kB / 0.7396 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.3396, allocations: 0 / 0.7396 GB, free: 3.324 MB / 0.5105 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 (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 8.773e-05/0.3396, allocations: 105.8 kB / 0.7397 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.3397, allocations: 8 kB / 0.7397 GB, free: 3.203 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.3399, allocations: 80.72 kB / 0.7398 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3399, allocations: 4 kB / 0.7398 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.34, allocations: 0 / 0.7398 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.34, allocations: 32 / 0.7398 GB, free: 3.113 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001873/0.3402, allocations: 165.6 kB / 0.7399 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3402, allocations: 0 / 0.7399 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.068e-05/0.3402, allocations: 11.98 kB / 0.74 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3402, allocations: 0 / 0.74 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.3403, allocations: 0 / 0.74 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3403, allocations: 0 / 0.74 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3403, allocations: 8 kB / 0.74 GB, free: 2.883 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.3405, allocations: 179.4 kB / 0.7401 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.3406, allocations: 84.95 kB / 0.7402 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/0.3407, allocations: 4.125 kB / 0.7402 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.3408, allocations: 16.02 kB / 0.7402 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.3408, allocations: 3.984 kB / 0.7402 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.3408, allocations: 0 / 0.7402 GB, free: 2.566 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.438e-05/0.3409, allocations: 79.28 kB / 0.7403 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3409, allocations: 0 / 0.7403 GB, free: 2.488 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002434/0.3411, allocations: 31.92 kB / 0.7403 GB, free: 2.457 MB / 0.5105 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 () * Number of clocked 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.0003012/0.3414, allocations: 127 kB / 0.7405 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.3417, allocations: 43.97 kB / 0.7405 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3417, allocations: 4.062 kB / 0.7405 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.716e-05/0.3418, allocations: 27.97 kB / 0.7405 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.342, allocations: 5.984 kB / 0.7405 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.3423, allocations: 112.6 kB / 0.7407 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.3427, allocations: 0.681 MB / 0.7413 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.959e-05/0.3427, allocations: 7.984 kB / 0.7413 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.3427, allocations: 7.438 kB / 0.7413 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of SimCode: time 7.51e-07/0.3428, allocations: 0 / 0.7413 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of Templates: time 0.002962/0.3457, allocations: 0.5484 MB / 0.7419 GB, free: 0.8359 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)