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.001232/0.001232, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001263/0.001263, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.246/1.246, 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.00204/0.00204, allocations: 289.7 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.8911/0.8911, allocations: 169.2 MB / 0.499 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001646/0.001646, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3865, allocations: 86.98 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002621/0.3892, allocations: 1.421 MB / 0.7684 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005202/0.3897, allocations: 244.1 kB / 0.7687 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.3897, allocations: 4 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.3898, allocations: 3.938 kB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.808e-05/0.3898, allocations: 3.938 kB / 0.7687 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3902, allocations: 51.89 kB / 0.7687 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.699e-05/0.3903, allocations: 27.92 kB / 0.7688 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.3903, allocations: 7.969 kB / 0.7688 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.482e-05/0.3904, allocations: 11.94 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.613e-05/0.3904, allocations: 11.98 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.3905, allocations: 0 / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.3906, allocations: 59.89 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.3906, allocations: 4 kB / 0.7689 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.345e-05/0.3907, allocations: 11.92 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.3908, allocations: 51.86 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3908, allocations: 0 / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3908, allocations: 3.938 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.3908, allocations: 0 / 0.7689 GB, free: 2 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.0004574/0.3913, allocations: 351.1 kB / 0.7693 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3913, allocations: 12.03 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.3914, allocations: 0.9375 kB / 0.7693 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.3915, allocations: 164.4 kB / 0.7694 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.3915, allocations: 4.312 kB / 0.7694 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3915, allocations: 4.375 kB / 0.7694 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.3917, allocations: 50.23 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.3917, allocations: 192 / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3917, allocations: 3.938 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3917, allocations: 4 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.3919, allocations: 31.97 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.3922, allocations: 256.9 kB / 0.7698 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.3923, allocations: 42.42 kB / 0.7698 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.3924, allocations: 28.84 kB / 0.7698 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000619/0.393, allocations: 457.5 kB / 0.7703 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.3931, allocations: 30.56 kB / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3931, allocations: 0 / 0.7703 GB, free: 344 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.000338/0.3934, allocations: 81.64 kB / 0.7704 GB, free: 256 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.3935, allocations: 55.34 kB / 0.7704 GB, free: 188 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.911e-05/0.3935, allocations: 97.86 kB / 0.7705 GB, free: 80 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.15e-05/0.3935, allocations: 25.7 kB / 0.7705 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.3936, allocations: 92.12 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3936, allocations: 10.42 kB / 0.7706 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.3937, allocations: 13.84 kB / 0.7707 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.089e-05/0.3938, allocations: 318.8 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.964e-05/0.3938, allocations: 11.98 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.3939, allocations: 15.97 kB / 0.771 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3941, allocations: 44.89 kB / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3941, allocations: 0 / 0.771 GB, free: 15.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001851/0.3943, allocations: 73.53 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3943, allocations: 4 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3943, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3943, allocations: 0 / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.071e-05/0.3944, allocations: 11.98 kB / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3944, allocations: 0 / 0.7711 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.3945, allocations: 8.031 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.3945, allocations: 0 / 0.7711 GB, free: 15.43 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.308e-05/0.3945, allocations: 116.2 kB / 0.7712 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.3946, allocations: 4 kB / 0.7712 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.3948, allocations: 68.78 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3948, allocations: 3.938 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3948, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3948, allocations: 4.031 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.395, allocations: 161.6 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.395, allocations: 3.938 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.395, allocations: 7.984 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.395, allocations: 0 / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.395, allocations: 0 / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.3951, allocations: 4 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3951, allocations: 3.938 kB / 0.7715 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.3953, allocations: 171.4 kB / 0.7716 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.3953, allocations: 77.11 kB / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3953, allocations: 3.984 kB / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.13e-05/0.3954, allocations: 4 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.3955, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.3955, allocations: 4 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.724e-05/0.3955, allocations: 87.27 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3955, allocations: 4.031 kB / 0.7718 GB, free: 14.62 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002353/0.3958, allocations: 20 kB / 0.7718 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.0001871/0.396, allocations: 115.2 kB / 0.7719 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002027/0.3962, allocations: 35.97 kB / 0.772 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3962, allocations: 0 / 0.772 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.459e-05/0.3963, allocations: 23.97 kB / 0.772 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.3965, allocations: 7.938 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002746/0.3968, allocations: 133.1 kB / 0.7721 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.397, allocations: 0.6729 MB / 0.7728 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.397, allocations: 11.56 kB / 0.7728 GB, free: 13.54 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.397, allocations: 4 kB / 0.7728 GB, free: 13.53 MB / 0.545 GB Notification: Performance of Templates: time 0.002053/0.3991, allocations: 0.779 MB / 0.7736 GB, free: 12.75 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)