Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 105.8 kB / 16.27 MB, free: 5.945 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.001058/0.001059, allocations: 188.5 kB / 17.19 MB, free: 5.586 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.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.771/0.771, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.91 kB / 0.4911 GB, free: 7.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4071, allocations: 77.91 MB / 0.5672 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002619/0.4098, allocations: 1.428 MB / 0.5686 GB, free: 31.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005262/0.4103, allocations: 259.1 kB / 0.5688 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.767e-05/0.4104, allocations: 1.156 kB / 0.5688 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.4104, allocations: 5.016 kB / 0.5688 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.4104, allocations: 0.5938 kB / 0.5688 GB, free: 31.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.4108, allocations: 53.25 kB / 0.5689 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.4109, allocations: 22.92 kB / 0.5689 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.628e-05/0.411, allocations: 10.59 kB / 0.5689 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.411, allocations: 7.531 kB / 0.5689 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.178e-05/0.4111, allocations: 15.78 kB / 0.5689 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.4111, allocations: 2.219 kB / 0.5689 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.4113, allocations: 63.55 kB / 0.569 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.04e-05/0.4113, allocations: 4.797 kB / 0.569 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.4113, allocations: 13.53 kB / 0.569 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.4115, allocations: 47.84 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4115, allocations: 1.938 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4115, allocations: 0 / 0.5691 GB, free: 31.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.4115, allocations: 0.7188 kB / 0.5691 GB, free: 31.36 MB / 446.1 MB 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.0003985/0.4119, allocations: 348 kB / 0.5694 GB, free: 31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.412, allocations: 9.75 kB / 0.5694 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.412, allocations: 2.312 kB / 0.5694 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.469e-05/0.4121, allocations: 165.7 kB / 0.5696 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4121, allocations: 5.75 kB / 0.5696 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.4121, allocations: 1.812 kB / 0.5696 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.4123, allocations: 52.97 kB / 0.5696 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4123, allocations: 192 / 0.5696 GB, free: 30.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.4123, allocations: 5.969 kB / 0.5696 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4123, allocations: 1.078 kB / 0.5696 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001815/0.4125, allocations: 35 kB / 0.5697 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.4128, allocations: 250.6 kB / 0.5699 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.4129, allocations: 46.38 kB / 0.57 GB, free: 30.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.717e-05/0.413, allocations: 19.83 kB / 0.57 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006215/0.4137, allocations: 460.4 kB / 0.5704 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.4137, allocations: 32.06 kB / 0.5704 GB, free: 29.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.4137, allocations: 1.094 kB / 0.5704 GB, free: 29.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003483/0.4141, allocations: 81.91 kB / 0.5705 GB, free: 29.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4141, allocations: 53.16 kB / 0.5706 GB, free: 29.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.665e-05/0.4142, allocations: 104.9 kB / 0.5707 GB, free: 29.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.516e-06/0.4142, allocations: 30.14 kB / 0.5707 GB, free: 29.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.4142, allocations: 87.33 kB / 0.5708 GB, free: 29.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.4142, allocations: 9.562 kB / 0.5708 GB, free: 29.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.767e-05/0.4143, allocations: 17.48 kB / 0.5708 GB, free: 29.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.141e-05/0.4143, allocations: 313.5 kB / 0.5711 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.428e-05/0.4144, allocations: 14.58 kB / 0.5711 GB, free: 29.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.44e-05/0.4145, allocations: 20.25 kB / 0.5711 GB, free: 29.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4146, allocations: 37.34 kB / 0.5712 GB, free: 29.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.4146, allocations: 1.062 kB / 0.5712 GB, free: 29.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001885/0.4148, allocations: 69.77 kB / 0.5712 GB, free: 29.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.4149, allocations: 8.188 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4149, allocations: 0 / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4149, allocations: 1.125 kB / 0.5713 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.741e-05/0.415, allocations: 15.8 kB / 0.5713 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.415, allocations: 1.812 kB / 0.5713 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.4151, allocations: 6.172 kB / 0.5713 GB, free: 29.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.4151, allocations: 0 / 0.5713 GB, free: 29.19 MB / 446.1 MB 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 5.732e-05/0.4151, allocations: 117.2 kB / 0.5714 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.4152, allocations: 2.188 kB / 0.5714 GB, free: 29.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.4154, allocations: 72.78 kB / 0.5715 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.4154, allocations: 2.156 kB / 0.5715 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4154, allocations: 0 / 0.5715 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.4154, allocations: 1.812 kB / 0.5715 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00012/0.4155, allocations: 168.4 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4155, allocations: 0 / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.4156, allocations: 8.047 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4156, allocations: 2.312 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.4156, allocations: 0.75 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4156, allocations: 5.312 kB / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4156, allocations: 0 / 0.5716 GB, free: 28.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.4159, allocations: 161.6 kB / 0.5718 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.193e-05/0.4159, allocations: 80.64 kB / 0.5719 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.4159, allocations: 0 / 0.5719 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.445e-05/0.416, allocations: 10.11 kB / 0.5719 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.416, allocations: 3.859 kB / 0.5719 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.416, allocations: 0.7031 kB / 0.5719 GB, free: 28.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.549e-05/0.4161, allocations: 84.61 kB / 0.572 GB, free: 28.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4161, allocations: 0 / 0.572 GB, free: 28.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002491/0.4163, allocations: 19.86 kB / 0.572 GB, free: 28.5 MB / 446.1 MB 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.0002004/0.4165, allocations: 114.3 kB / 0.5721 GB, free: 28.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.4168, allocations: 43.72 kB / 0.5721 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4168, allocations: 3.938 kB / 0.5721 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.919e-05/0.4169, allocations: 18.09 kB / 0.5722 GB, free: 28.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.4171, allocations: 11.08 kB / 0.5722 GB, free: 28.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.4174, allocations: 104.1 kB / 0.5723 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.4175, allocations: 0.6788 MB / 0.5729 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.004e-05/0.4175, allocations: 5.594 kB / 0.5729 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.681e-05/0.4175, allocations: 8.5 kB / 0.5729 GB, free: 27.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4175, allocations: 1.062 kB / 0.5729 GB, free: 27.58 MB / 446.1 MB Notification: Performance of Templates: time 0.002836/0.4204, allocations: 0.6525 MB / 0.5736 GB, free: 27.54 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)