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.00106/0.00106, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001098/0.001098, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.378/1.378, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8208/0.8208, allocations: 126.1 MB / 416.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 67.89 kB / 0.4945 GB, free: 3.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4942/0.4955, allocations: 78.69 MB / 0.5713 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.002751/0.4983, allocations: 1.485 MB / 0.5728 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005377/0.4989, allocations: 251.9 kB / 0.573 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.92e-05/0.4989, allocations: 0.9062 kB / 0.573 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.543e-05/0.499, allocations: 0.75 kB / 0.573 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.499, allocations: 5.75 kB / 0.573 GB, free: 30.09 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.4994, allocations: 53.11 kB / 0.5731 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.637e-05/0.4994, allocations: 21.67 kB / 0.5731 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.021e-05/0.4995, allocations: 3.75 kB / 0.5731 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.4996, allocations: 8.75 kB / 0.5731 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.602e-05/0.4996, allocations: 15.38 kB / 0.5731 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.4996, allocations: 1.219 kB / 0.5731 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.4998, allocations: 70.88 kB / 0.5732 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.939e-06/0.4998, allocations: 3.094 kB / 0.5732 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.414e-05/0.4998, allocations: 11.45 kB / 0.5732 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.5, allocations: 61.47 kB / 0.5733 GB, free: 29.99 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5, allocations: 2.594 kB / 0.5733 GB, free: 29.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5, allocations: 0 / 0.5733 GB, free: 29.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.5, allocations: 0 / 0.5733 GB, free: 29.99 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.0004023/0.5004, allocations: 351 kB / 0.5736 GB, free: 29.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5005, allocations: 10.78 kB / 0.5736 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.5005, allocations: 2.969 kB / 0.5736 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.242e-05/0.5006, allocations: 163.8 kB / 0.5738 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.5006, allocations: 1.125 kB / 0.5738 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.5007, allocations: 2.719 kB / 0.5738 GB, free: 29.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5008, allocations: 53.06 kB / 0.5738 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.5009, allocations: 5.938 kB / 0.5738 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5009, allocations: 3.938 kB / 0.5738 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.5009, allocations: 1.219 kB / 0.5738 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.5011, allocations: 35.36 kB / 0.5739 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.5014, allocations: 250 kB / 0.5741 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.5016, allocations: 44.33 kB / 0.5741 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.5017, allocations: 23.59 kB / 0.5742 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006972/0.5024, allocations: 458.8 kB / 0.5746 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.5024, allocations: 40.92 kB / 0.5746 GB, free: 28.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.5025, allocations: 1.031 kB / 0.5746 GB, free: 28.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.5028, allocations: 77.52 kB / 0.5747 GB, free: 28.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.5028, allocations: 53.22 kB / 0.5748 GB, free: 28.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.097e-05/0.5029, allocations: 102.1 kB / 0.5749 GB, free: 28.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.5029, allocations: 29.64 kB / 0.5749 GB, free: 28.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.468e-05/0.5029, allocations: 82.25 kB / 0.575 GB, free: 28.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.503, allocations: 10.97 kB / 0.575 GB, free: 28.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-05/0.503, allocations: 12.81 kB / 0.575 GB, free: 28.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.503, allocations: 314.2 kB / 0.5753 GB, free: 27.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.5031, allocations: 17.92 kB / 0.5753 GB, free: 27.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.332e-05/0.5032, allocations: 19.48 kB / 0.5753 GB, free: 27.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001461/0.5034, allocations: 38.56 kB / 0.5754 GB, free: 27.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5034, allocations: 0.7188 kB / 0.5754 GB, free: 27.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001859/0.5036, allocations: 71.75 kB / 0.5754 GB, free: 27.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5036, allocations: 7.031 kB / 0.5754 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.5036, allocations: 0 / 0.5754 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5036, allocations: 1.844 kB / 0.5754 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.1e-05/0.5037, allocations: 10.36 kB / 0.5755 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.5037, allocations: 0.7031 kB / 0.5755 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.523e-05/0.5038, allocations: 10.16 kB / 0.5755 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.5038, allocations: 0.9375 kB / 0.5755 GB, free: 27.82 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 4.898e-05/0.5038, allocations: 118.1 kB / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.5039, allocations: 2.516 kB / 0.5756 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.5041, allocations: 72.12 kB / 0.5756 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5041, allocations: 1.469 kB / 0.5756 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.5041, allocations: 1.5 kB / 0.5757 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.5041, allocations: 0.75 kB / 0.5757 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.5042, allocations: 163.4 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5042, allocations: 1.5 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.5043, allocations: 9.594 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5043, allocations: 1.219 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.5043, allocations: 0.75 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5043, allocations: 5.469 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5043, allocations: 1.375 kB / 0.5758 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.5045, allocations: 167.5 kB / 0.576 GB, free: 27.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.5046, allocations: 80.08 kB / 0.5761 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.5046, allocations: 1.906 kB / 0.5761 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.304e-05/0.5047, allocations: 5.531 kB / 0.5761 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.894e-05/0.5047, allocations: 3.812 kB / 0.5761 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.5047, allocations: 0 / 0.5761 GB, free: 27.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.445e-05/0.5047, allocations: 88.77 kB / 0.5762 GB, free: 27.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5047, allocations: 0.875 kB / 0.5762 GB, free: 27.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.505, allocations: 14.11 kB / 0.5762 GB, free: 27.13 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.0001818/0.5052, allocations: 118.8 kB / 0.5763 GB, free: 27.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.5054, allocations: 39.47 kB / 0.5763 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5054, allocations: 0 / 0.5763 GB, free: 27.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.674e-05/0.5055, allocations: 22.12 kB / 0.5763 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.5058, allocations: 9.328 kB / 0.5764 GB, free: 27.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.506, allocations: 105.7 kB / 0.5765 GB, free: 26.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.5061, allocations: 0.6752 MB / 0.5771 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.191e-05/0.5061, allocations: 6 kB / 0.5771 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.5062, allocations: 9.812 kB / 0.5771 GB, free: 26.2 MB / 446.1 MB Notification: Performance of SimCode: time 3.9e-07/0.5062, allocations: 2.188 kB / 0.5771 GB, free: 26.2 MB / 446.1 MB Notification: Performance of Templates: time 0.002938/0.5091, allocations: 0.6063 MB / 0.5777 GB, free: 26.15 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)