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.001325/0.001325, allocations: 108 kB / 16.41 MB, free: 6.457 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.001374/0.001374, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002044, allocations: 284.3 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8853/0.8853, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 91.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4137, allocations: 86.98 MB / 0.7671 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY1): time 0.001671/0.4154, allocations: 0.5746 MB / 0.7676 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00061/0.416, allocations: 299 kB / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.253e-05/0.416, allocations: 4 kB / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.394e-05/0.4161, allocations: 0 / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.831e-06/0.4161, allocations: 0 / 0.7679 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004843/0.4166, allocations: 103.7 kB / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.867e-05/0.4166, allocations: 0 / 0.768 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.121e-05/0.4167, allocations: 11.92 kB / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.4167, allocations: 0 / 0.768 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.864e-05/0.4167, allocations: 4 kB / 0.7681 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.231e-06/0.4167, allocations: 0 / 0.7681 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002532/0.417, allocations: 127.8 kB / 0.7682 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.632e-06/0.417, allocations: 0 / 0.7682 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.417, allocations: 0 / 0.7682 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.4172, allocations: 79.81 kB / 0.7682 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4172, allocations: 0 / 0.7682 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.163e-06/0.4172, allocations: 0 / 0.7682 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.4172, allocations: 0 / 0.7682 GB, free: 2.766 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.0003031/0.4175, allocations: 323.6 kB / 0.7686 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4175, allocations: 12.03 kB / 0.7686 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.799e-05/0.4176, allocations: 0.9375 kB / 0.7686 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.959e-05/0.4177, allocations: 168.4 kB / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.4177, allocations: 384 / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.4177, allocations: 384 / 0.7687 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.183e-05/0.4178, allocations: 30.2 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.4178, allocations: 192 / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.4178, allocations: 7.875 kB / 0.7688 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4178, allocations: 4 kB / 0.7688 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2e-05/0.4179, allocations: 7.922 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.418, allocations: 153.7 kB / 0.7689 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.671e-05/0.418, allocations: 22.61 kB / 0.7689 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.445e-05/0.418, allocations: 4.859 kB / 0.769 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007516/0.4188, allocations: 465.5 kB / 0.7694 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4188, allocations: 42.55 kB / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4188, allocations: 0 / 0.7694 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001221/0.419, allocations: 37.58 kB / 0.7695 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.419, allocations: 51.41 kB / 0.7695 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.342e-05/0.4191, allocations: 93.98 kB / 0.7696 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.4191, allocations: 25.7 kB / 0.7696 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.284e-05/0.4191, allocations: 80.14 kB / 0.7697 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.4191, allocations: 7.906 kB / 0.7697 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.4192, allocations: 9.719 kB / 0.7697 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.4193, allocations: 314.8 kB / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-06/0.4193, allocations: 3.984 kB / 0.77 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-06/0.4193, allocations: 4 kB / 0.77 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.52e-05/0.4193, allocations: 8.922 kB / 0.77 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4193, allocations: 0 / 0.77 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.016e-05/0.4194, allocations: 37.64 kB / 0.7701 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4194, allocations: 4 kB / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.4194, allocations: 0 / 0.7701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4194, allocations: 3.938 kB / 0.7701 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.791e-05/0.4195, allocations: 4 kB / 0.7701 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.4195, allocations: 3.984 kB / 0.7701 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-06/0.4195, allocations: 0 / 0.7701 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.4195, allocations: 8.016 kB / 0.7701 GB, free: 0.5469 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 6.549e-05/0.4196, allocations: 115.9 kB / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-06/0.4196, allocations: 0 / 0.7702 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.4197, allocations: 44.7 kB / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.4197, allocations: 0 / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4197, allocations: 0 / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4197, allocations: 0 / 0.7703 GB, free: 392 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.233e-05/0.4198, allocations: 145.7 kB / 0.7704 GB, free: 196 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.4198, allocations: 3.938 kB / 0.7704 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.4198, allocations: 8.031 kB / 0.7704 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4198, allocations: 0 / 0.7704 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4198, allocations: 3.938 kB / 0.7704 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4198, allocations: 3.938 kB / 0.7704 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4198, allocations: 0 / 0.7704 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.656e-05/0.4199, allocations: 61.12 kB / 0.7705 GB, free: 96 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.4199, allocations: 77.11 kB / 0.7705 GB, free: 0 / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.42, allocations: 208 / 0.7705 GB, free: 16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.945e-06/0.42, allocations: 7.969 kB / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.42, allocations: 0 / 0.7706 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.42, allocations: 4 kB / 0.7706 GB, free: 15.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.614e-05/0.42, allocations: 79.22 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.42, allocations: 0 / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002121/0.4202, allocations: 35.98 kB / 0.7707 GB, free: 15.87 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.0002389/0.4205, allocations: 135.2 kB / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.061e-05/0.4206, allocations: 0 / 0.7708 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.4206, allocations: 4 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.68e-06/0.4206, allocations: 0 / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.4207, allocations: 3.938 kB / 0.7708 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.4209, allocations: 118.9 kB / 0.7709 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.4211, allocations: 0.669 MB / 0.7716 GB, free: 14.88 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.4211, allocations: 7.438 kB / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.4211, allocations: 0 / 0.7716 GB, free: 14.87 MB / 0.545 GB Notification: Performance of Templates: time 0.00204/0.4232, allocations: 0.7782 MB / 0.7723 GB, free: 14.09 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY1.pipe 2>&1)