Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0") translateModel(Buildings.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001199/0.001199, 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.001324/0.001325, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 61.78 kB / 0.9113 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3262, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003535/0.3298, allocations: 1.493 MB / 1.069 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006177/0.3304, allocations: 251.3 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.3305, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.3306, allocations: 7.984 kB / 1.069 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.3306, allocations: 7.938 kB / 1.069 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003399/0.331, allocations: 43.91 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.386e-05/0.331, allocations: 15.98 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.888e-05/0.3312, allocations: 8 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.475e-05/0.3312, allocations: 4 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.19e-05/0.3312, allocations: 15.91 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.324e-05/0.3313, allocations: 4 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.3315, allocations: 67.81 kB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3315, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.892e-05/0.3315, allocations: 11.94 kB / 1.069 GB, free: 8.973 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.3317, allocations: 51.86 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.3317, allocations: 3.984 kB / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3317, allocations: 0 / 1.069 GB, free: 8.918 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3317, allocations: 0 / 1.069 GB, free: 8.918 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.0005332/0.3323, allocations: 349.3 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3323, allocations: 8.031 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.3324, allocations: 4.938 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3325, allocations: 160.4 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.3325, allocations: 4.375 kB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.3325, allocations: 4.375 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.3327, allocations: 54.17 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3328, allocations: 192 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3328, allocations: 7.922 kB / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.3328, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.333, allocations: 31.95 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003869/0.3334, allocations: 245 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3335, allocations: 42.5 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3336, allocations: 28.83 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008106/0.3344, allocations: 453.5 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.3345, allocations: 34.56 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.3345, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003745/0.3349, allocations: 85.64 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3349, allocations: 51.41 kB / 1.071 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.335, allocations: 101.8 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.3351, allocations: 29.64 kB / 1.071 GB, free: 6.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.3351, allocations: 88.08 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.241e-05/0.3352, allocations: 7.906 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/0.3352, allocations: 9.719 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3353, allocations: 322.8 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.497e-05/0.3354, allocations: 20.02 kB / 1.071 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.3355, allocations: 11.98 kB / 1.071 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.3357, allocations: 44.81 kB / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3357, allocations: 0 / 1.072 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.3359, allocations: 69.67 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.3359, allocations: 5.562 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3359, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3359, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.391e-05/0.336, allocations: 11.98 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.336, allocations: 3.938 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.964e-05/0.3361, allocations: 7.984 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3361, allocations: 0 / 1.072 GB, free: 6.352 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 7.708e-05/0.3362, allocations: 114.5 kB / 1.072 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3362, allocations: 4 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.3364, allocations: 68.78 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3365, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3365, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3365, allocations: 0 / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.3367, allocations: 161.6 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3367, allocations: 8 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.3368, allocations: 12.02 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3368, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.3368, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3368, allocations: 0 / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3368, allocations: 7.938 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.337, allocations: 163.4 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.3371, allocations: 89.08 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.3371, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/0.3372, allocations: 7.984 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.3372, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-06/0.3372, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.3373, allocations: 87.22 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3373, allocations: 0 / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002408/0.3375, allocations: 23.98 kB / 1.072 GB, free: 5.52 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.0002193/0.3378, allocations: 115.6 kB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002169/0.338, allocations: 39.89 kB / 1.072 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.338, allocations: 0 / 1.072 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.401e-05/0.3381, allocations: 20.05 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3383, allocations: 11.94 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.3386, allocations: 103.3 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3389, allocations: 0.677 MB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.3389, allocations: 0 / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.339, allocations: 11.44 kB / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.339, allocations: 0 / 1.073 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.003118/0.3421, allocations: 0.5995 MB / 1.074 GB, free: 3.887 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)