Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001389/0.001389, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001352/0.001352, allocations: 199.2 kB / 16.14 MB, free: 6.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.438/1.438, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.013/3.013, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.33 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3336, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002593/0.3362, allocations: 1.493 MB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006924/0.337, allocations: 271.2 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.337, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.337, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.3371, allocations: 0 / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.3374, allocations: 55.88 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.441e-05/0.3375, allocations: 15.94 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.891e-05/0.3376, allocations: 11.98 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.3376, allocations: 4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.3377, allocations: 15.92 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.3377, allocations: 0 / 1.069 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3379, allocations: 71.86 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.068e-05/0.3379, allocations: 0 / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.3379, allocations: 11.94 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.3381, allocations: 59.84 kB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3381, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3381, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.3381, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 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.0004666/0.3386, allocations: 347.7 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3386, allocations: 8.031 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.544e-05/0.3387, allocations: 4.938 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.3388, allocations: 160.4 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3388, allocations: 384 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.3388, allocations: 8.375 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.339, allocations: 46.23 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.339, allocations: 192 / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.339, allocations: 7.938 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.339, allocations: 4 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3392, allocations: 31.95 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.3396, allocations: 248.9 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.3397, allocations: 42.48 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.354e-05/0.3398, allocations: 20.91 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008526/0.3407, allocations: 461.5 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3407, allocations: 30.56 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3407, allocations: 0 / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003543/0.3411, allocations: 89.48 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.3412, allocations: 55.53 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.214e-05/0.3412, allocations: 105.8 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3413, allocations: 33.64 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/0.3413, allocations: 80.14 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3413, allocations: 7.891 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.3414, allocations: 13.72 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.3415, allocations: 314.8 kB / 1.071 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/0.3416, allocations: 15.98 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.673e-05/0.3417, allocations: 23.97 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.3418, allocations: 32.83 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3418, allocations: 0 / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002304/0.3421, allocations: 73.53 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3421, allocations: 9.188 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.3421, allocations: 0 / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.3421, allocations: 4 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.3422, allocations: 7.984 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3422, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.3423, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3423, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 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.927e-05/0.3423, allocations: 117.8 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3424, allocations: 4 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.3426, allocations: 76.7 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3426, allocations: 4 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3426, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3426, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.3428, allocations: 157.6 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3428, allocations: 0 / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.3428, allocations: 11.98 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3429, allocations: 4.031 kB / 1.072 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.3429, allocations: 4 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3429, allocations: 0 / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.3429, allocations: 3.984 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.3431, allocations: 163.4 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.3432, allocations: 81.05 kB / 1.072 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.3432, allocations: 4.031 kB / 1.072 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.3433, allocations: 11.92 kB / 1.072 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.3433, allocations: 8 kB / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.3433, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.3434, allocations: 87.2 kB / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3434, allocations: 0 / 1.072 GB, free: 5.488 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002334/0.3436, allocations: 16 kB / 1.072 GB, free: 5.473 MB / 0.8262 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.0002815/0.3439, allocations: 115.2 kB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.3441, allocations: 31.97 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3441, allocations: 7.938 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.3442, allocations: 15.98 kB / 1.073 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.3444, allocations: 16.05 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000259/0.3447, allocations: 111.2 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.3451, allocations: 0.6731 MB / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.371e-05/0.3451, allocations: 0 / 1.073 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.3451, allocations: 7.438 kB / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3452, allocations: 0 / 1.073 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of Templates: time 0.002815/0.348, allocations: 0.5984 MB / 1.074 GB, free: 3.836 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)