Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.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.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 108.8 kB / 16.41 MB, free: 6.453 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.0018/0.0018, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002586/0.002586, allocations: 285.6 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9829/0.9829, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 99.84 kB / 0.6822 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4196, allocations: 86.99 MB / 0.7671 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001619/0.4212, allocations: 0.5669 MB / 0.7677 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005855/0.4218, allocations: 291 kB / 0.7679 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.12e-05/0.4218, allocations: 0 / 0.7679 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.367e-06/0.4218, allocations: 4 kB / 0.7679 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.699e-06/0.4218, allocations: 0 / 0.7679 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.4222, allocations: 91.72 kB / 0.768 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.053e-05/0.4223, allocations: 0 / 0.768 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.4223, allocations: 7.984 kB / 0.768 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.165e-05/0.4223, allocations: 4 kB / 0.768 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.512e-05/0.4223, allocations: 0 / 0.768 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-06/0.4223, allocations: 0 / 0.768 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.4226, allocations: 119.8 kB / 0.7682 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.4226, allocations: 3.984 kB / 0.7682 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.308e-05/0.4226, allocations: 3.938 kB / 0.7682 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.4227, allocations: 71.7 kB / 0.7682 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4227, allocations: 0 / 0.7682 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.122e-06/0.4227, allocations: 0 / 0.7682 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.4228, allocations: 0 / 0.7682 GB, free: 2.723 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.00032/0.4231, allocations: 337.2 kB / 0.7686 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.4231, allocations: 8.031 kB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.645e-05/0.4231, allocations: 0.9375 kB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.4232, allocations: 164.4 kB / 0.7687 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.4233, allocations: 384 / 0.7687 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.4233, allocations: 12.34 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.587e-05/0.4233, allocations: 34.2 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.232e-06/0.4233, allocations: 192 / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.4234, allocations: 3.938 kB / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.266e-06/0.4234, allocations: 0 / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.463e-05/0.4234, allocations: 0 / 0.7688 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.4235, allocations: 149.7 kB / 0.7689 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.451e-05/0.4236, allocations: 14.58 kB / 0.7689 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.595e-05/0.4236, allocations: 12.84 kB / 0.7689 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000726/0.4243, allocations: 461.5 kB / 0.7694 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4243, allocations: 30.56 kB / 0.7694 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4243, allocations: 0 / 0.7694 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001106/0.4244, allocations: 41.62 kB / 0.7694 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.4245, allocations: 51.41 kB / 0.7695 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.273e-05/0.4245, allocations: 89.86 kB / 0.7696 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.4245, allocations: 33.64 kB / 0.7696 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.4246, allocations: 80.14 kB / 0.7697 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.368e-05/0.4246, allocations: 7.891 kB / 0.7697 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.4246, allocations: 13.72 kB / 0.7697 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4248, allocations: 315 kB / 0.77 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-06/0.4248, allocations: 4 kB / 0.77 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.628e-06/0.4248, allocations: 3.938 kB / 0.77 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.196e-05/0.4248, allocations: 8.859 kB / 0.77 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4248, allocations: 0 / 0.77 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.307e-05/0.4249, allocations: 33.69 kB / 0.7701 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.4249, allocations: 4 kB / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.4249, allocations: 0 / 0.7701 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.4249, allocations: 3.938 kB / 0.7701 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.305e-05/0.4249, allocations: 12.09 kB / 0.7701 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.4249, allocations: 0 / 0.7701 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-06/0.4249, allocations: 0 / 0.7701 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.4249, allocations: 0 / 0.7701 GB, free: 0.5195 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 7.251e-05/0.425, allocations: 116.2 kB / 0.7702 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-06/0.425, allocations: 0 / 0.7702 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.512e-05/0.4251, allocations: 40.75 kB / 0.7702 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.4251, allocations: 0 / 0.7702 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4251, allocations: 4.031 kB / 0.7702 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.4251, allocations: 3.938 kB / 0.7702 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.4252, allocations: 149.7 kB / 0.7704 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.4252, allocations: 0 / 0.7704 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.081e-05/0.4252, allocations: 4 kB / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.4252, allocations: 0 / 0.7704 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4252, allocations: 3.938 kB / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.4252, allocations: 0 / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4252, allocations: 0 / 0.7704 GB, free: 148 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.771e-05/0.4253, allocations: 65.06 kB / 0.7704 GB, free: 64 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.4254, allocations: 81.11 kB / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.4254, allocations: 7.938 kB / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.043e-06/0.4254, allocations: 0 / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.696e-06/0.4254, allocations: 0 / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.4254, allocations: 4 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.89e-05/0.4254, allocations: 79.22 kB / 0.7706 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.4254, allocations: 0 / 0.7706 GB, free: 15.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002128/0.4256, allocations: 23.94 kB / 0.7706 GB, free: 15.85 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.0002309/0.4259, allocations: 143.2 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.59e-05/0.4259, allocations: 4 kB / 0.7708 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4259, allocations: 4.062 kB / 0.7708 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.216e-06/0.4259, allocations: 3.938 kB / 0.7708 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.4261, allocations: 4 kB / 0.7708 GB, free: 15.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000161/0.4262, allocations: 77.06 kB / 0.7709 GB, free: 15.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.4265, allocations: 0.6729 MB / 0.7715 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.676e-06/0.4265, allocations: 0 / 0.7715 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.4265, allocations: 11.44 kB / 0.7715 GB, free: 14.87 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.4265, allocations: 0 / 0.7715 GB, free: 14.87 MB / 0.545 GB Notification: Performance of Templates: time 0.00275/0.4293, allocations: 0.6306 MB / 0.7721 GB, free: 14.24 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)