Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Math.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001152/0.001152, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001277/0.001277, allocations: 193.9 kB / 16.13 MB, free: 6.668 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.526/1.526, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.996/2.996, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 61.44 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3308, allocations: 159.9 MB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002443/0.3333, allocations: 1.503 MB / 1.069 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005984/0.3339, allocations: 263.3 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.3339, allocations: 3.938 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.3339, allocations: 0 / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.927e-05/0.334, allocations: 4 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3343, allocations: 55.88 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.861e-05/0.3343, allocations: 19.94 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.396e-05/0.3344, allocations: 7.984 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.162e-05/0.3345, allocations: 4 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.321e-05/0.3345, allocations: 11.92 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.099e-05/0.3345, allocations: 7.984 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.3347, allocations: 63.88 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.248e-06/0.3347, allocations: 0 / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.143e-05/0.3347, allocations: 11.94 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3348, allocations: 63.78 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3348, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.31e-07/0.3349, allocations: 0 / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.3349, allocations: 0 / 1.069 GB, free: 8.934 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.0004045/0.3353, allocations: 343.7 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3353, allocations: 12.03 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.3353, allocations: 0.9375 kB / 1.07 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.316e-05/0.3354, allocations: 160.4 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3355, allocations: 4.375 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-06/0.3355, allocations: 8.375 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.3357, allocations: 46.23 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3357, allocations: 192 / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.3357, allocations: 7.938 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3357, allocations: 3.984 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001654/0.3359, allocations: 39.89 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.3362, allocations: 244.9 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.3363, allocations: 42.53 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.3364, allocations: 16.91 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007011/0.3371, allocations: 465.5 kB / 1.071 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3371, allocations: 30.56 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.3371, allocations: 3.938 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.3375, allocations: 89.48 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.3375, allocations: 55.53 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.3376, allocations: 93.86 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.3376, allocations: 33.69 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.3377, allocations: 80.14 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.3377, allocations: 7.906 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/0.3378, allocations: 9.719 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3379, allocations: 318.8 kB / 1.071 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.338, allocations: 19.97 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.453e-05/0.338, allocations: 15.98 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.3382, allocations: 44.7 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3382, allocations: 0 / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001966/0.3384, allocations: 73.66 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3384, allocations: 4 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.3384, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.3385, allocations: 0 / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.369e-05/0.3385, allocations: 11.98 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3386, allocations: 0 / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.618e-05/0.3386, allocations: 4 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.3386, allocations: 0 / 1.072 GB, free: 6.371 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.452e-05/0.3387, allocations: 117.8 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.3387, allocations: 8.031 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.339, allocations: 72.72 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.339, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.339, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.339, allocations: 0 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.3391, allocations: 157.6 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3391, allocations: 7.984 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.3392, allocations: 4 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3392, allocations: 4.031 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.3392, allocations: 4 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3392, allocations: 0 / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3392, allocations: 4 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.3395, allocations: 163.3 kB / 1.072 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.3395, allocations: 89.06 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.3395, allocations: 4 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.3396, allocations: 4 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.3397, allocations: 7.984 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.3397, allocations: 0 / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.412e-05/0.3397, allocations: 79.28 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3397, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002341/0.34, allocations: 23.94 kB / 1.072 GB, free: 5.535 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.0001963/0.3402, allocations: 119.2 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.3404, allocations: 31.97 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3404, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.784e-05/0.3405, allocations: 31.84 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.3407, allocations: 9.469 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.3409, allocations: 103.3 kB / 1.073 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.3412, allocations: 0.6735 MB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.305e-05/0.3412, allocations: 7.984 kB / 1.073 GB, free: 4.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.3412, allocations: 7.438 kB / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3412, allocations: 0 / 1.073 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of Templates: time 0.002545/0.3438, allocations: 0.592 MB / 1.074 GB, free: 3.902 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)