Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.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.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 113.6 kB / 16.4 MB, free: 6.383 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.001316/0.001316, allocations: 191.7 kB / 17.33 MB, free: 5.844 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002518/0.002518, allocations: 290.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002705/0.002705, allocations: 95.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4392, allocations: 86.97 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001615/0.4408, allocations: 0.5863 MB / 0.7677 GB, free: 3.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006792/0.4415, allocations: 299 kB / 0.7679 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.732e-05/0.4415, allocations: 0 / 0.7679 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.559e-05/0.4415, allocations: 0 / 0.7679 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.4415, allocations: 3.938 kB / 0.7679 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006202/0.4421, allocations: 107.7 kB / 0.768 GB, free: 2.945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.683e-05/0.4422, allocations: 3.984 kB / 0.768 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.5e-05/0.4422, allocations: 0 / 0.768 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.61e-05/0.4423, allocations: 8 kB / 0.7681 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.323e-05/0.4423, allocations: 0 / 0.7681 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.667e-06/0.4423, allocations: 0 / 0.7681 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.4426, allocations: 127.8 kB / 0.7682 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.005e-05/0.4426, allocations: 3.938 kB / 0.7682 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.4426, allocations: 0 / 0.7682 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.4429, allocations: 75.61 kB / 0.7683 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4429, allocations: 0 / 0.7683 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4429, allocations: 4 kB / 0.7683 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.4429, allocations: 0 / 0.7683 GB, free: 2.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004892/0.4434, allocations: 325.3 kB / 0.7686 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/0.4434, allocations: 12.02 kB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.4435, allocations: 0.9375 kB / 0.7686 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.4436, allocations: 160.4 kB / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4436, allocations: 384 / 0.7687 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.4437, allocations: 4.375 kB / 0.7687 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.4438, allocations: 30.27 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.4438, allocations: 192 / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4438, allocations: 3.938 kB / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4438, allocations: 0 / 0.7688 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.912e-05/0.4438, allocations: 11.94 kB / 0.7688 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.4441, allocations: 145.7 kB / 0.7689 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.557e-05/0.4441, allocations: 14.58 kB / 0.7689 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.4441, allocations: 12.95 kB / 0.7689 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009845/0.4451, allocations: 465.5 kB / 0.7694 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/0.4452, allocations: 30.56 kB / 0.7694 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.4452, allocations: 0 / 0.7694 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001807/0.4454, allocations: 49.56 kB / 0.7695 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.4454, allocations: 55.47 kB / 0.7695 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.26e-05/0.4455, allocations: 93.86 kB / 0.7696 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.4455, allocations: 25.7 kB / 0.7696 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.332e-05/0.4455, allocations: 80.14 kB / 0.7697 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.4456, allocations: 7.891 kB / 0.7697 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.4456, allocations: 13.72 kB / 0.7697 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4457, allocations: 314.8 kB / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.768e-06/0.4458, allocations: 0 / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.47e-06/0.4458, allocations: 0 / 0.77 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.291e-05/0.4458, allocations: 12.92 kB / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4458, allocations: 3.938 kB / 0.77 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.048e-05/0.4459, allocations: 37.62 kB / 0.7701 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.4459, allocations: 10.34 kB / 0.7701 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4459, allocations: 0 / 0.7701 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4459, allocations: 3.938 kB / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.755e-05/0.446, allocations: 4 kB / 0.7701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.446, allocations: 0 / 0.7701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.014e-05/0.446, allocations: 32 / 0.7701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.446, allocations: 8 kB / 0.7701 GB, free: 0.5234 MB / 0.5294 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 (1): * Single equations (assignments): 1 * 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.358e-05/0.4461, allocations: 108.2 kB / 0.7702 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.4461, allocations: 7.984 kB / 0.7702 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.704e-05/0.4462, allocations: 36.77 kB / 0.7703 GB, free: 372 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4462, allocations: 3.938 kB / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4462, allocations: 0 / 0.7703 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.4462, allocations: 4 kB / 0.7703 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.4463, allocations: 149.7 kB / 0.7704 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4463, allocations: 4.031 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.037e-05/0.4463, allocations: 0 / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4463, allocations: 0 / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.4463, allocations: 7.938 kB / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4463, allocations: 0 / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4463, allocations: 0 / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.618e-05/0.4464, allocations: 57.12 kB / 0.7705 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.4465, allocations: 77.11 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.4465, allocations: 11.97 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-06/0.4465, allocations: 0 / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.4465, allocations: 3.938 kB / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.4465, allocations: 0 / 0.7706 GB, free: 15.96 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.415e-05/0.4466, allocations: 75.28 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.4466, allocations: 0 / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002362/0.4468, allocations: 27.88 kB / 0.7707 GB, free: 15.86 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 (1): * Single equations (assignments): 1 * 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.0002824/0.4471, allocations: 147.1 kB / 0.7708 GB, free: 15.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.22e-05/0.4472, allocations: 4 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4472, allocations: 0 / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.245e-06/0.4472, allocations: 4 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001274/0.4473, allocations: 6.875 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.4477, allocations: 81.06 kB / 0.7709 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.448, allocations: 0.6768 MB / 0.7715 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.006e-05/0.448, allocations: 0 / 0.7715 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.238e-05/0.448, allocations: 7.438 kB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.448, allocations: 0 / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of Templates: time 0.00304/0.451, allocations: 0.6424 MB / 0.7722 GB, free: 14.24 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)