Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 109.8 kB / 16.41 MB, free: 6.492 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.00127/0.00127, allocations: 189.4 kB / 17.34 MB, free: 5.762 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.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002039, allocations: 278.1 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9368/0.9368, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 99.84 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4621, allocations: 86.98 MB / 0.7671 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002254/0.4644, allocations: 1.422 MB / 0.7684 GB, free: 2.535 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004935/0.4649, allocations: 240.1 kB / 0.7687 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.545e-05/0.465, allocations: 0 / 0.7687 GB, free: 2.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.465, allocations: 3.938 kB / 0.7687 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.4651, allocations: 3.984 kB / 0.7687 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.4654, allocations: 59.83 kB / 0.7687 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.769e-05/0.4655, allocations: 27.92 kB / 0.7688 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.456e-05/0.4656, allocations: 7.938 kB / 0.7688 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.13e-05/0.4656, allocations: 15.92 kB / 0.7688 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.614e-05/0.4656, allocations: 3.984 kB / 0.7688 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.134e-05/0.4657, allocations: 4 kB / 0.7688 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.4658, allocations: 63.88 kB / 0.7689 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.4658, allocations: 7.938 kB / 0.7689 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.4658, allocations: 0 / 0.7689 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001249/0.466, allocations: 55.84 kB / 0.7689 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.466, allocations: 4 kB / 0.7689 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.993e-06/0.466, allocations: 4 kB / 0.7689 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.466, allocations: 0 / 0.7689 GB, free: 2.039 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.0004103/0.4664, allocations: 347.1 kB / 0.7693 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.4664, allocations: 8.031 kB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.999e-05/0.4665, allocations: 0.9375 kB / 0.7693 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.4666, allocations: 164.4 kB / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.4666, allocations: 384 / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.814e-06/0.4666, allocations: 384 / 0.7694 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.4668, allocations: 58.17 kB / 0.7695 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4668, allocations: 192 / 0.7695 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4668, allocations: 3.938 kB / 0.7695 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4668, allocations: 0 / 0.7695 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.467, allocations: 39.94 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.4673, allocations: 244.9 kB / 0.7698 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.4674, allocations: 50.42 kB / 0.7698 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.892e-05/0.4675, allocations: 32.84 kB / 0.7698 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005642/0.4681, allocations: 449.5 kB / 0.7703 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.4681, allocations: 34.56 kB / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4681, allocations: 0 / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003304/0.4684, allocations: 77.64 kB / 0.7704 GB, free: 308 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.4685, allocations: 51.41 kB / 0.7704 GB, free: 244 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.4685, allocations: 106 kB / 0.7705 GB, free: 128 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.4686, allocations: 29.7 kB / 0.7705 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.4686, allocations: 80.14 kB / 0.7706 GB, free: 8 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.4686, allocations: 10.44 kB / 0.7706 GB, free: 0 / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.4687, allocations: 13.77 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.4688, allocations: 314.8 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.4689, allocations: 19.92 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.4689, allocations: 19.98 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.4691, allocations: 36.81 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4691, allocations: 0 / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001783/0.4693, allocations: 69.61 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4693, allocations: 6.344 kB / 0.7711 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4693, allocations: 7.938 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4693, allocations: 8.078 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.313e-05/0.4694, allocations: 4 kB / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.4694, allocations: 0 / 0.7711 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.465e-05/0.4695, allocations: 11.92 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.4695, allocations: 0 / 0.7711 GB, free: 15.48 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 6.645e-05/0.4695, allocations: 113.8 kB / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.4696, allocations: 0 / 0.7712 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.4698, allocations: 76.78 kB / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4698, allocations: 0 / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.4698, allocations: 0 / 0.7713 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4698, allocations: 3.984 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001375/0.47, allocations: 157.6 kB / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.47, allocations: 0 / 0.7715 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.47, allocations: 11.98 kB / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.47, allocations: 0 / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.47, allocations: 0 / 0.7715 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.47, allocations: 3.969 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4701, allocations: 4 kB / 0.7715 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.4703, allocations: 171.3 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.4703, allocations: 77.11 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.02e-05/0.4703, allocations: 0 / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.4704, allocations: 7.984 kB / 0.7717 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.4704, allocations: 8.031 kB / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.4704, allocations: 0 / 0.7717 GB, free: 14.76 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.528e-05/0.4705, allocations: 83.28 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4705, allocations: 0 / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002232/0.4707, allocations: 19.98 kB / 0.7718 GB, free: 14.66 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.0001701/0.4709, allocations: 115.2 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002047/0.4711, allocations: 43.89 kB / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.4711, allocations: 0 / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.465e-05/0.4712, allocations: 19.98 kB / 0.772 GB, free: 14.47 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.4714, allocations: 7.938 kB / 0.772 GB, free: 14.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.4717, allocations: 137.2 kB / 0.7721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.4719, allocations: 0.6768 MB / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.4719, allocations: 7.438 kB / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4719, allocations: 0 / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Templates: time 0.001983/0.4739, allocations: 0.7718 MB / 0.7736 GB, free: 12.81 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)