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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 113.3 kB / 16.42 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.244/1.244, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 287.9 kB / 291.5 MB, free: 14.41 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8721/0.8721, allocations: 169.2 MB / 0.499 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001659, allocations: 103.8 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3598, allocations: 86.97 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002363/0.3622, allocations: 1.425 MB / 0.7685 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.3627, allocations: 260 kB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.352e-05/0.3628, allocations: 0 / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.222e-05/0.3628, allocations: 0 / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.3629, allocations: 7.938 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.3632, allocations: 67.8 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.3633, allocations: 15.94 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.602e-05/0.3633, allocations: 7.984 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.751e-05/0.3634, allocations: 11.94 kB / 0.7688 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.559e-05/0.3634, allocations: 7.984 kB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.3634, allocations: 4 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.3636, allocations: 63.92 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.3636, allocations: 0 / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.3636, allocations: 15.94 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.3638, allocations: 55.8 kB / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3638, allocations: 0 / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3638, allocations: 0 / 0.7689 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.3638, allocations: 0 / 0.7689 GB, free: 1.969 MB / 0.5294 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.0004048/0.3642, allocations: 347.1 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3642, allocations: 8.031 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.3643, allocations: 8.875 kB / 0.7693 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.3644, allocations: 164.4 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.3644, allocations: 4.375 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.3644, allocations: 8.375 kB / 0.7695 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3646, allocations: 46.23 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-06/0.3646, allocations: 192 / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3646, allocations: 7.938 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3646, allocations: 0 / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/0.3648, allocations: 39.88 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.3651, allocations: 248.9 kB / 0.7698 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.3652, allocations: 38.5 kB / 0.7698 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.312e-05/0.3653, allocations: 32.83 kB / 0.7699 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006351/0.3659, allocations: 457.5 kB / 0.7703 GB, free: 352 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.366, allocations: 34.56 kB / 0.7703 GB, free: 308 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.366, allocations: 0 / 0.7703 GB, free: 308 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003248/0.3663, allocations: 85.67 kB / 0.7704 GB, free: 216 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.3663, allocations: 51.41 kB / 0.7705 GB, free: 152 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.085e-05/0.3664, allocations: 101.9 kB / 0.7706 GB, free: 40 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.19e-05/0.3664, allocations: 25.7 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.3665, allocations: 80.14 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.651e-05/0.3665, allocations: 10.42 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.3665, allocations: 17.72 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/0.3666, allocations: 310.8 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.979e-05/0.3667, allocations: 16.02 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.11e-05/0.3668, allocations: 19.98 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.3669, allocations: 40.75 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3669, allocations: 4 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001889/0.3671, allocations: 69.66 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3672, allocations: 8 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3672, allocations: 0 / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.3672, allocations: 0 / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.3673, allocations: 4 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.3673, allocations: 0 / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.3673, allocations: 7.984 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.952e-06/0.3673, allocations: 4 kB / 0.7711 GB, free: 15.4 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.861e-05/0.3674, allocations: 116.3 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3674, allocations: 3.938 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.3677, allocations: 80.7 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3677, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3677, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.3677, allocations: 81.02 kB / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.1e-05/0.3677, allocations: 0 / 0.7714 GB, free: 15.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.3678, allocations: 11.92 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.049e-05/0.3678, allocations: 8.031 kB / 0.7714 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000232/0.3681, allocations: 144.9 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002367/0.3683, allocations: 238.8 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.516e-05/0.3684, allocations: 23.97 kB / 0.7718 GB, free: 14.66 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.3685, allocations: 83.22 kB / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Backend: time 1.81e-07/0.3685, allocations: 0 / 0.7719 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004513/0.3689, allocations: 126.7 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003526/0.3693, allocations: 0.5494 MB / 0.7726 GB, free: 13.84 MB / 0.545 GB Notification: Performance of Templates: time 0.002649/0.3719, allocations: 0.7647 MB / 0.7733 GB, free: 13.08 MB / 0.545 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)