Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004864/0.004864, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001075/0.001075, allocations: 194.2 kB / 16.67 MB, free: 5.523 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 280.7 kB / 290.8 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 0.9311/0.9311, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 91.86 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4398, allocations: 86.98 MB / 0.7664 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002389/0.4423, allocations: 1.433 MB / 0.7678 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005293/0.4428, allocations: 256 kB / 0.768 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.4429, allocations: 0 / 0.768 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.4429, allocations: 3.938 kB / 0.768 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.629e-05/0.4429, allocations: 4 kB / 0.768 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.4433, allocations: 63.81 kB / 0.7681 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.477e-05/0.4433, allocations: 23.92 kB / 0.7681 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.414e-05/0.4434, allocations: 4 kB / 0.7681 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.76e-05/0.4435, allocations: 11.92 kB / 0.7681 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.069e-05/0.4435, allocations: 4 kB / 0.7681 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.4435, allocations: 4 kB / 0.7681 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4436, allocations: 63.88 kB / 0.7682 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.4437, allocations: 11.92 kB / 0.7682 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.1e-05/0.4437, allocations: 11.98 kB / 0.7682 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.4438, allocations: 55.66 kB / 0.7683 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.4438, allocations: 0 / 0.7683 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.253e-06/0.4438, allocations: 0 / 0.7683 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.4439, allocations: 0 / 0.7683 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.0003937/0.4443, allocations: 345.2 kB / 0.7686 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.4443, allocations: 8.031 kB / 0.7686 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.726e-05/0.4443, allocations: 4.938 kB / 0.7686 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.4444, allocations: 172.3 kB / 0.7688 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.4444, allocations: 4.375 kB / 0.7688 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.394e-06/0.4445, allocations: 384 / 0.7688 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4446, allocations: 50.23 kB / 0.7688 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.4446, allocations: 192 / 0.7688 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.4447, allocations: 3.938 kB / 0.7688 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.4447, allocations: 7.938 kB / 0.7688 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.4448, allocations: 27.97 kB / 0.7689 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003105/0.4451, allocations: 253 kB / 0.7691 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.4453, allocations: 38.44 kB / 0.7692 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.604e-05/0.4454, allocations: 28.84 kB / 0.7692 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006451/0.446, allocations: 461.5 kB / 0.7696 GB, free: 396 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.4461, allocations: 34.56 kB / 0.7697 GB, free: 352 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.4461, allocations: 0 / 0.7697 GB, free: 352 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003269/0.4464, allocations: 77.64 kB / 0.7697 GB, free: 268 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.4465, allocations: 63.47 kB / 0.7698 GB, free: 192 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.4465, allocations: 101.8 kB / 0.7699 GB, free: 80 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.4465, allocations: 25.7 kB / 0.7699 GB, free: 48 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.4466, allocations: 88.08 kB / 0.77 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.4466, allocations: 3.953 kB / 0.77 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.4467, allocations: 13.72 kB / 0.77 GB, free: 15.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.4468, allocations: 314.8 kB / 0.7703 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.4468, allocations: 19.97 kB / 0.7703 GB, free: 15.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.94e-05/0.4469, allocations: 19.98 kB / 0.7703 GB, free: 15.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4471, allocations: 32.83 kB / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4471, allocations: 0 / 0.7704 GB, free: 15.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001838/0.4473, allocations: 77.59 kB / 0.7705 GB, free: 15.46 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.4473, allocations: 4 kB / 0.7705 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4473, allocations: 4 kB / 0.7705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.4473, allocations: 0 / 0.7705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.189e-05/0.4474, allocations: 7.984 kB / 0.7705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.4474, allocations: 0 / 0.7705 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.399e-05/0.4474, allocations: 7.984 kB / 0.7705 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.4474, allocations: 0 / 0.7705 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 5.983e-05/0.4475, allocations: 113.8 kB / 0.7706 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.4475, allocations: 11.98 kB / 0.7706 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.4477, allocations: 68.97 kB / 0.7707 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.4478, allocations: 0 / 0.7707 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4478, allocations: 3.984 kB / 0.7707 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.4478, allocations: 0 / 0.7707 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.4479, allocations: 165.5 kB / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.4479, allocations: 0 / 0.7708 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.36e-05/0.448, allocations: 11.94 kB / 0.7708 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.448, allocations: 4.031 kB / 0.7708 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.448, allocations: 3.984 kB / 0.7708 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.448, allocations: 0 / 0.7708 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.448, allocations: 0 / 0.7708 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.4482, allocations: 163.5 kB / 0.771 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.4483, allocations: 77.11 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.4483, allocations: 4.031 kB / 0.7711 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.4484, allocations: 4 kB / 0.7711 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.4484, allocations: 7.984 kB / 0.7711 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.4484, allocations: 3.938 kB / 0.7711 GB, free: 14.71 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.351e-05/0.4484, allocations: 83.28 kB / 0.7712 GB, free: 14.63 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4484, allocations: 0 / 0.7712 GB, free: 14.63 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002251/0.4487, allocations: 15.94 kB / 0.7712 GB, free: 14.61 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.0001779/0.4489, allocations: 119.2 kB / 0.7713 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.4491, allocations: 39.95 kB / 0.7713 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4491, allocations: 0 / 0.7713 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.892e-05/0.4492, allocations: 19.98 kB / 0.7714 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.0002102/0.4494, allocations: 10.41 kB / 0.7714 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.4496, allocations: 103.3 kB / 0.7715 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.4498, allocations: 0.6807 MB / 0.7721 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.143e-05/0.4499, allocations: 0 / 0.7721 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.4499, allocations: 15.38 kB / 0.7721 GB, free: 13.57 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4499, allocations: 0 / 0.7721 GB, free: 13.57 MB / 0.545 GB Notification: Performance of Templates: time 0.002538/0.4524, allocations: 0.666 MB / 0.7728 GB, free: 12.9 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)