Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 113.5 kB / 16.41 MB, free: 6.508 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.001229/0.001229, allocations: 189.2 kB / 17.34 MB, free: 5.734 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.415/1.415, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002594/0.002594, allocations: 285.7 kB / 291.5 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 1.005/1.005, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 99.83 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.444/0.4469, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselY0): time 0.002611/0.4495, allocations: 1.414 MB / 0.7684 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.4502, allocations: 351.7 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.4502, allocations: 0 / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.4502, allocations: 0 / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.234e-05/0.4503, allocations: 7.875 kB / 0.7688 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.4507, allocations: 103.7 kB / 0.7689 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.4508, allocations: 27.88 kB / 0.7689 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.88e-05/0.4508, allocations: 7.969 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.4509, allocations: 8 kB / 0.7689 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.121e-05/0.4509, allocations: 15.92 kB / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-06/0.4509, allocations: 0 / 0.7689 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002105/0.4511, allocations: 119.8 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.151e-05/0.4511, allocations: 4 kB / 0.7691 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.4512, allocations: 7.922 kB / 0.7691 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.4513, allocations: 83.67 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4514, allocations: 11.94 kB / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4514, allocations: 0 / 0.7692 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.4514, allocations: 0 / 0.7692 GB, free: 1.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005074/0.4519, allocations: 357 kB / 0.7695 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4519, allocations: 12.03 kB / 0.7695 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.4519, allocations: 4.938 kB / 0.7695 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.4521, allocations: 168.3 kB / 0.7697 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4521, allocations: 4.375 kB / 0.7697 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-06/0.4521, allocations: 384 / 0.7697 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.4523, allocations: 54.23 kB / 0.7697 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4523, allocations: 192 / 0.7697 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4523, allocations: 3.938 kB / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.4523, allocations: 0 / 0.7697 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.4525, allocations: 35.95 kB / 0.7698 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.4528, allocations: 244.9 kB / 0.77 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.453, allocations: 46.53 kB / 0.77 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.007e-05/0.4531, allocations: 16.91 kB / 0.7701 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007603/0.4538, allocations: 461.5 kB / 0.7705 GB, free: 104 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/0.4539, allocations: 38.55 kB / 0.7705 GB, free: 56 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.4539, allocations: 0 / 0.7705 GB, free: 56 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003886/0.4542, allocations: 81.58 kB / 0.7706 GB, free: 15.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.4543, allocations: 55.41 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.335e-05/0.4544, allocations: 102 kB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4544, allocations: 25.7 kB / 0.7708 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.4545, allocations: 84.12 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.075e-05/0.4545, allocations: 11.94 kB / 0.7709 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.4545, allocations: 13.72 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.4547, allocations: 310.8 kB / 0.7712 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.523e-05/0.4547, allocations: 19.98 kB / 0.7712 GB, free: 15.31 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.35e-05/0.4548, allocations: 19.97 kB / 0.7712 GB, free: 15.29 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.455, allocations: 36.83 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.455, allocations: 3.938 kB / 0.7713 GB, free: 15.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002059/0.4552, allocations: 69.53 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4552, allocations: 10.81 kB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4552, allocations: 8.031 kB / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4552, allocations: 0 / 0.7714 GB, free: 15.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.998e-05/0.4553, allocations: 7.984 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.4553, allocations: 4 kB / 0.7714 GB, free: 15.15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.814e-05/0.4553, allocations: 11.94 kB / 0.7714 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.4553, allocations: 0 / 0.7714 GB, free: 15.14 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 7.981e-05/0.4554, allocations: 112.2 kB / 0.7715 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.4554, allocations: 7.938 kB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.4557, allocations: 84.7 kB / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.4557, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.4557, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4557, allocations: 0 / 0.7716 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.4559, allocations: 157.6 kB / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.4559, allocations: 0 / 0.7717 GB, free: 14.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.4559, allocations: 11.98 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.4559, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.4559, allocations: 4.031 kB / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4559, allocations: 0 / 0.7717 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.4559, allocations: 4 kB / 0.7717 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.4562, allocations: 161.2 kB / 0.7719 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.4562, allocations: 85.11 kB / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.4562, allocations: 0 / 0.772 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.435e-05/0.4563, allocations: 15.95 kB / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/0.4563, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.4563, allocations: 0 / 0.772 GB, free: 14.41 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.4564, allocations: 83.27 kB / 0.7721 GB, free: 14.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4564, allocations: 0 / 0.7721 GB, free: 14.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002541/0.4566, allocations: 27.94 kB / 0.7721 GB, free: 14.3 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.0002559/0.4569, allocations: 135.2 kB / 0.7722 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.4571, allocations: 39.95 kB / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4571, allocations: 0 / 0.7723 GB, free: 14.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.4572, allocations: 16.05 kB / 0.7723 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4574, allocations: 11.94 kB / 0.7723 GB, free: 14.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.4577, allocations: 101.5 kB / 0.7724 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.458, allocations: 0.6806 MB / 0.7731 GB, free: 13.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.458, allocations: 4 kB / 0.7731 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.4581, allocations: 7.438 kB / 0.7731 GB, free: 13.25 MB / 0.545 GB Notification: Performance of SimCode: time 3.3e-07/0.4581, allocations: 3.938 kB / 0.7731 GB, free: 13.24 MB / 0.545 GB Notification: Performance of Templates: time 0.003514/0.4616, allocations: 0.8924 MB / 0.7739 GB, free: 12.36 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)