Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 109.8 kB / 16.42 MB, free: 6.512 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.001668/0.001668, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 279.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8788/0.8788, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 107.8 kB / 0.6822 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.3595, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001447/0.361, allocations: 0.5736 MB / 0.7677 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003999/0.3614, allocations: 195.3 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.468e-06/0.3615, allocations: 0 / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.3615, allocations: 0 / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.819e-06/0.3615, allocations: 0 / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.3618, allocations: 59.81 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.04e-05/0.3618, allocations: 0 / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.3619, allocations: 0 / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.039e-05/0.3619, allocations: 3.938 kB / 0.7679 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.496e-05/0.3619, allocations: 4 kB / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.591e-06/0.3619, allocations: 0 / 0.7679 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.3621, allocations: 63.92 kB / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.092e-06/0.3621, allocations: 0 / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.222e-05/0.3621, allocations: 4 kB / 0.768 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 9.986e-05/0.3622, allocations: 35.94 kB / 0.768 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3622, allocations: 3.938 kB / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.446e-06/0.3622, allocations: 0 / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.3622, allocations: 3.938 kB / 0.768 GB, free: 2.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002467/0.3625, allocations: 323.5 kB / 0.7683 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.3625, allocations: 12.03 kB / 0.7683 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.3626, allocations: 8.922 kB / 0.7683 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.3626, allocations: 160.4 kB / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.726e-06/0.3627, allocations: 384 / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-06/0.3627, allocations: 384 / 0.7685 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.851e-05/0.3627, allocations: 34.27 kB / 0.7685 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.3627, allocations: 192 / 0.7685 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.3628, allocations: 3.938 kB / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.216e-06/0.3628, allocations: 0 / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.3628, allocations: 0 / 0.7685 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.3629, allocations: 149.7 kB / 0.7687 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 2.961e-05/0.3629, allocations: 22.55 kB / 0.7687 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.363, allocations: 8.859 kB / 0.7687 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/0.3636, allocations: 457.5 kB / 0.7691 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3637, allocations: 38.56 kB / 0.7692 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.3637, allocations: 0 / 0.7692 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.3638, allocations: 41.58 kB / 0.7692 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.3638, allocations: 51.41 kB / 0.7693 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.898e-05/0.3638, allocations: 89.86 kB / 0.7694 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3638, allocations: 25.7 kB / 0.7694 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.05e-05/0.3639, allocations: 80.14 kB / 0.7695 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.3639, allocations: 8.031 kB / 0.7695 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.3639, allocations: 17.7 kB / 0.7695 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.364, allocations: 310.8 kB / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-06/0.364, allocations: 0 / 0.7698 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.372e-06/0.364, allocations: 4 kB / 0.7698 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.3641, allocations: 8.859 kB / 0.7698 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3641, allocations: 0 / 0.7698 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.321e-05/0.3641, allocations: 37.64 kB / 0.7698 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.3641, allocations: 8.094 kB / 0.7698 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.3642, allocations: 0 / 0.7698 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.3642, allocations: 3.938 kB / 0.7698 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.519e-05/0.3642, allocations: 7.984 kB / 0.7698 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.3642, allocations: 3.938 kB / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/0.3642, allocations: 0 / 0.7699 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.3642, allocations: 0 / 0.7699 GB, free: 0.7734 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.365e-05/0.3643, allocations: 111.9 kB / 0.77 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.3643, allocations: 0 / 0.77 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.3644, allocations: 52.75 kB / 0.77 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3644, allocations: 3.938 kB / 0.77 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.3644, allocations: 0 / 0.77 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.3644, allocations: 77.11 kB / 0.7701 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-06/0.3644, allocations: 0 / 0.7701 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-06/0.3644, allocations: 0 / 0.7701 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.679e-06/0.3645, allocations: 3.938 kB / 0.7701 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.316e-05/0.3645, allocations: 105 kB / 0.7702 GB, free: 404 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.551e-05/0.3646, allocations: 214.8 kB / 0.7704 GB, free: 172 kB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.387e-05/0.3646, allocations: 0 / 0.7704 GB, free: 172 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.679e-05/0.3647, allocations: 79.22 kB / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of Backend: time 2.01e-07/0.3647, allocations: 0 / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003813/0.3651, allocations: 104.9 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of SimCode: time 0.0002542/0.3653, allocations: 0.5293 MB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of Templates: time 0.002041/0.3674, allocations: 450.2 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)