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.001298/0.001298, allocations: 102.3 kB / 16.4 MB, free: 6.406 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.001232/0.001232, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 290.4 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9282/0.9282, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 91.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.4895, allocations: 86.99 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.003194/0.4927, allocations: 1.418 MB / 0.7684 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006568/0.4934, allocations: 264 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.714e-05/0.4935, allocations: 0 / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.4935, allocations: 0 / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.496e-05/0.4936, allocations: 3.938 kB / 0.7687 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004557/0.494, allocations: 59.81 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.268e-05/0.4941, allocations: 19.98 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4942, allocations: 4 kB / 0.7688 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.4943, allocations: 15.92 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.104e-05/0.4943, allocations: 7.938 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.4944, allocations: 8 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.4946, allocations: 63.92 kB / 0.7689 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.4946, allocations: 7.875 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.4946, allocations: 11.98 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.4948, allocations: 55.84 kB / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4948, allocations: 0 / 0.7689 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4948, allocations: 3.938 kB / 0.769 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4948, allocations: 0 / 0.769 GB, free: 1.984 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.0005382/0.4954, allocations: 343.1 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4954, allocations: 12.03 kB / 0.7693 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.4955, allocations: 4.938 kB / 0.7693 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.4956, allocations: 164.4 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.4957, allocations: 4.375 kB / 0.7695 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.4957, allocations: 4.375 kB / 0.7695 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.4959, allocations: 46.23 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4959, allocations: 4.188 kB / 0.7695 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4959, allocations: 3.938 kB / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.4959, allocations: 0 / 0.7695 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.4961, allocations: 35.95 kB / 0.7695 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.4964, allocations: 252.8 kB / 0.7698 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.4966, allocations: 46.44 kB / 0.7698 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.316e-05/0.4967, allocations: 16.91 kB / 0.7698 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006591/0.4973, allocations: 461.5 kB / 0.7703 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.4974, allocations: 38.56 kB / 0.7703 GB, free: 332 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.4974, allocations: 0 / 0.7703 GB, free: 332 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003417/0.4977, allocations: 85.58 kB / 0.7704 GB, free: 240 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.4978, allocations: 51.41 kB / 0.7705 GB, free: 176 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.4979, allocations: 105.8 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.4979, allocations: 25.7 kB / 0.7706 GB, free: 28 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.216e-05/0.4979, allocations: 80.14 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.498, allocations: 6.438 kB / 0.7707 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.498, allocations: 21.84 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4981, allocations: 314.8 kB / 0.771 GB, free: 15.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.899e-05/0.4982, allocations: 11.98 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.179e-05/0.4983, allocations: 19.98 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.4984, allocations: 36.83 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.4984, allocations: 4.062 kB / 0.7711 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001891/0.4986, allocations: 69.53 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.4986, allocations: 8 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.4987, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4987, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.4988, allocations: 7.984 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4988, allocations: 0 / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.4988, allocations: 7.984 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.4988, allocations: 11.97 kB / 0.7712 GB, free: 15.41 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 7.226e-05/0.4989, allocations: 113.8 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.4989, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.4991, allocations: 76.72 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4992, allocations: 0 / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4992, allocations: 0 / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4992, allocations: 32 / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.4993, allocations: 165.6 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4993, allocations: 0 / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.4994, allocations: 8 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4994, allocations: 3.984 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.4994, allocations: 0 / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4994, allocations: 3.938 kB / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4994, allocations: 0 / 0.7715 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/0.4997, allocations: 167.4 kB / 0.7717 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.042e-05/0.4997, allocations: 81.05 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4997, allocations: 8 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.96e-05/0.4998, allocations: 3.984 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.4998, allocations: 4 kB / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.4998, allocations: 0 / 0.7718 GB, free: 14.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.098e-05/0.4999, allocations: 79.28 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4999, allocations: 0 / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002309/0.5001, allocations: 20.03 kB / 0.7719 GB, free: 14.6 MB / 0.545 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 (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.0001804/0.5003, allocations: 123.2 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002186/0.5005, allocations: 39.95 kB / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5006, allocations: 4.062 kB / 0.772 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.5006, allocations: 15.98 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.5009, allocations: 7.938 kB / 0.772 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.5011, allocations: 133 kB / 0.7722 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.5014, allocations: 0.6807 MB / 0.7728 GB, free: 13.53 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.5014, allocations: 11.44 kB / 0.7728 GB, free: 13.52 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.5014, allocations: 64 / 0.7728 GB, free: 13.52 MB / 0.545 GB Notification: Performance of Templates: time 0.002137/0.5036, allocations: 0.7679 MB / 0.7736 GB, free: 12.75 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)