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.001482/0.001482, allocations: 106 kB / 16.41 MB, free: 6.5 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.001265/0.001265, allocations: 189.2 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.413/1.413, 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.002532/0.002532, allocations: 290.9 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 1.009/1.009, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003004/0.003004, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4389, allocations: 86.97 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.00242/0.4414, allocations: 1.429 MB / 0.7685 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005031/0.4419, allocations: 240.1 kB / 0.7687 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.642e-05/0.4419, allocations: 4 kB / 0.7687 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.657e-05/0.4419, allocations: 3.938 kB / 0.7687 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.442, allocations: 4 kB / 0.7687 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003296/0.4423, allocations: 59.81 kB / 0.7687 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.4424, allocations: 27.92 kB / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.4424, allocations: 0 / 0.7688 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.4425, allocations: 15.92 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.4425, allocations: 11.97 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.815e-06/0.4425, allocations: 3.938 kB / 0.7688 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.4426, allocations: 59.89 kB / 0.7689 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.4427, allocations: 4 kB / 0.7689 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.4427, allocations: 11.92 kB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.4428, allocations: 55.66 kB / 0.7689 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4428, allocations: 4 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.031e-06/0.4428, allocations: 0 / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.4428, allocations: 0 / 0.7689 GB, free: 2.004 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.0004784/0.4433, allocations: 345.2 kB / 0.7693 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.4433, allocations: 8.031 kB / 0.7693 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.4434, allocations: 8.938 kB / 0.7693 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.4435, allocations: 164.3 kB / 0.7694 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.4435, allocations: 4.359 kB / 0.7694 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4435, allocations: 8.375 kB / 0.7695 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.4437, allocations: 46.19 kB / 0.7695 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4437, allocations: 4.188 kB / 0.7695 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.4437, allocations: 3.938 kB / 0.7695 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.4437, allocations: 3.984 kB / 0.7695 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.4439, allocations: 27.97 kB / 0.7695 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.4442, allocations: 245 kB / 0.7698 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.4443, allocations: 42.48 kB / 0.7698 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.047e-05/0.4444, allocations: 24.91 kB / 0.7698 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.4451, allocations: 461.3 kB / 0.7703 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.4452, allocations: 38.56 kB / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.4452, allocations: 0 / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003619/0.4455, allocations: 73.64 kB / 0.7704 GB, free: 276 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4456, allocations: 55.41 kB / 0.7704 GB, free: 208 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.403e-05/0.4456, allocations: 102 kB / 0.7705 GB, free: 96 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.4456, allocations: 25.7 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.4457, allocations: 88.06 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.4457, allocations: 7.953 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.4458, allocations: 13.72 kB / 0.7707 GB, free: 15.95 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.4459, allocations: 310.8 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.446, allocations: 19.92 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.716e-05/0.4461, allocations: 23.97 kB / 0.771 GB, free: 15.59 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.4462, allocations: 36.83 kB / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4462, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000196/0.4464, allocations: 69.59 kB / 0.7711 GB, free: 15.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.4464, allocations: 8 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4465, allocations: 4.094 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4465, allocations: 192 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.4465, allocations: 7.984 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.4465, allocations: 3.938 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.4466, allocations: 4 kB / 0.7711 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.4466, allocations: 7.938 kB / 0.7711 GB, free: 15.44 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 8.25e-05/0.4467, allocations: 112.2 kB / 0.7712 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.4467, allocations: 11.92 kB / 0.7712 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.4469, allocations: 76.78 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4469, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4469, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.4469, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.4471, allocations: 157.6 kB / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.4471, allocations: 0 / 0.7715 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.4472, allocations: 11.98 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4472, allocations: 0 / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.022e-06/0.4472, allocations: 4.031 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4472, allocations: 0 / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.4472, allocations: 4 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.4474, allocations: 171.3 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.4475, allocations: 77.11 kB / 0.7717 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.4475, allocations: 4 kB / 0.7717 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-05/0.4476, allocations: 8.016 kB / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.4476, allocations: 4 kB / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.4476, allocations: 0 / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.691e-05/0.4476, allocations: 87.27 kB / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4476, allocations: 0 / 0.7718 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002418/0.4479, allocations: 15.94 kB / 0.7718 GB, free: 14.62 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.0001865/0.4481, allocations: 119.2 kB / 0.772 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.4483, allocations: 39.91 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4483, allocations: 0 / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.4484, allocations: 19.98 kB / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.4486, allocations: 7.922 kB / 0.772 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.4489, allocations: 103.5 kB / 0.7721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.4492, allocations: 0.6768 MB / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.96e-05/0.4492, allocations: 0 / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.4492, allocations: 7.438 kB / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.4492, allocations: 0 / 0.7728 GB, free: 13.58 MB / 0.545 GB Notification: Performance of Templates: time 0.003057/0.4523, allocations: 0.6543 MB / 0.7734 GB, free: 12.93 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)