Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 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: 187.3 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.095/1.095, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.462/1.462, allocations: 292.3 MB / 0.5489 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 72.14 kB / 0.6723 GB, free: 25.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 114.5 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001498/0.159, allocations: 0.5859 MB / 0.7847 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003553/0.1594, allocations: 191.4 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.177e-06/0.1594, allocations: 3.938 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.195e-05/0.1595, allocations: 4 kB / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-06/0.1595, allocations: 0 / 0.7849 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1598, allocations: 51.81 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 2.748e-05/0.1598, allocations: 4 kB / 0.7849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.755e-05/0.1598, allocations: 7.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-06/0.1598, allocations: 3.938 kB / 0.7849 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.485e-05/0.1599, allocations: 4 kB / 0.785 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.919e-06/0.1599, allocations: 0 / 0.785 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.16, allocations: 59.94 kB / 0.785 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.533e-06/0.16, allocations: 3.984 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.112e-05/0.16, allocations: 0 / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.461e-05/0.1601, allocations: 39.88 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1601, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1601, allocations: 0 / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.1601, allocations: 4 kB / 0.7851 GB, free: 11.82 MB / 0.6075 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.0002243/0.1604, allocations: 319.6 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.574e-05/0.1604, allocations: 8.031 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.1604, allocations: 0.9375 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.544e-05/0.1605, allocations: 164.4 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1605, allocations: 4.375 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-06/0.1605, allocations: 384 / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.981e-05/0.1606, allocations: 26.27 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.1606, allocations: 4.188 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.1606, allocations: 3.938 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1606, allocations: 0 / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.631e-05/0.1606, allocations: 11.88 kB / 0.7856 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.801e-05/0.1607, allocations: 149.7 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 2.792e-05/0.1608, allocations: 22.61 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.121e-05/0.1608, allocations: 4.859 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005709/0.1614, allocations: 457.5 kB / 0.7862 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.1614, allocations: 30.56 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.1614, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 9.731e-05/0.1615, allocations: 45.58 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1615, allocations: 55.53 kB / 0.7863 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.623e-05/0.1616, allocations: 89.86 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.1616, allocations: 29.69 kB / 0.7864 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.061e-05/0.1616, allocations: 80.14 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.1616, allocations: 7.891 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.1617, allocations: 13.72 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.578e-05/0.1617, allocations: 314.8 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-06/0.1617, allocations: 0 / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.1618, allocations: 4 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.829e-05/0.1618, allocations: 8.859 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1618, allocations: 0 / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.244e-05/0.1618, allocations: 37.62 kB / 0.7869 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.1618, allocations: 8 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1618, allocations: 0 / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.757e-06/0.1619, allocations: 7.875 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-05/0.1619, allocations: 0 / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.1619, allocations: 0 / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.1619, allocations: 4.094 kB / 0.7869 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.1619, allocations: 4 kB / 0.7869 GB, free: 9.625 MB / 0.6075 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 4.69e-05/0.162, allocations: 105.8 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.614e-06/0.162, allocations: 4 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.781e-05/0.162, allocations: 44.69 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-06/0.1621, allocations: 0 / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1621, allocations: 4 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1621, allocations: 4 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.744e-05/0.1621, allocations: 141.7 kB / 0.7872 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.1621, allocations: 4.031 kB / 0.7872 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/0.1622, allocations: 3.984 kB / 0.7872 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.1622, allocations: 3.938 kB / 0.7872 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1622, allocations: 7.938 kB / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1622, allocations: 0 / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1622, allocations: 0 / 0.7872 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.732e-05/0.1622, allocations: 53.14 kB / 0.7872 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.599e-05/0.1623, allocations: 77.14 kB / 0.7873 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.1623, allocations: 15.92 kB / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.1623, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.823e-06/0.1623, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.1623, allocations: 0 / 0.7873 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 1.867e-05/0.1623, allocations: 79.22 kB / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.1623, allocations: 0 / 0.7874 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000183/0.1625, allocations: 16 kB / 0.7874 GB, free: 8.965 MB / 0.6075 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.0001563/0.1627, allocations: 123.2 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 4.659e-05/0.1627, allocations: 0 / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1628, allocations: 4 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.09e-06/0.1628, allocations: 0 / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.1629, allocations: 3.938 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001254/0.163, allocations: 89.06 kB / 0.7876 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.1632, allocations: 0.6729 MB / 0.7883 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.664e-06/0.1632, allocations: 0 / 0.7883 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.736e-06/0.1632, allocations: 7.438 kB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of SimCode: time 1.323e-06/0.1632, allocations: 0 / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.001755/0.165, allocations: 424.5 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)