Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Math.Examples.BesselJ1.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003726/0.003726, allocations: 359.3 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.547/1.547, allocations: 165.8 MB / 183.1 MB, free: 5.453 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.739/3.739, allocations: 410.8 MB / 0.6001 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001689/0.001688, allocations: 194.1 kB / 0.6668 GB, free: 6.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004693/0.0004694, allocations: 12 kB / 0.7429 GB, free: 8.965 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4226, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BesselJ1): time 0.00158/0.4242, allocations: 1.138 MB / 0.8099 GB, free: 27.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004995/0.4247, allocations: 223.5 kB / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.4248, allocations: 4 kB / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.4248, allocations: 3.938 kB / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 3.715e-05/0.4249, allocations: 0 / 0.8101 GB, free: 27.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.4252, allocations: 51.81 kB / 0.8101 GB, free: 27.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.86e-05/0.4252, allocations: 19.92 kB / 0.8101 GB, free: 27.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.4253, allocations: 4 kB / 0.8101 GB, free: 27.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.4254, allocations: 8 kB / 0.8102 GB, free: 27.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.401e-05/0.4254, allocations: 11.92 kB / 0.8102 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.4254, allocations: 0 / 0.8102 GB, free: 27.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.4256, allocations: 67.86 kB / 0.8102 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-06/0.4256, allocations: 4 kB / 0.8102 GB, free: 27.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.873e-05/0.4257, allocations: 29.7 kB / 0.8103 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.399e-05/0.4258, allocations: 27.95 kB / 0.8103 GB, free: 27.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4258, allocations: 0 / 0.8103 GB, free: 27.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.4258, allocations: 0 / 0.8103 GB, free: 27.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.329e-06/0.4258, allocations: 4 kB / 0.8103 GB, free: 27.18 MB / 378.7 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.0004154/0.4262, allocations: 353.3 kB / 0.8106 GB, free: 26.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4263, allocations: 8.031 kB / 0.8106 GB, free: 26.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.655e-05/0.4263, allocations: 0 / 0.8106 GB, free: 26.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.583e-05/0.4264, allocations: 167.1 kB / 0.8108 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.4264, allocations: 3.938 kB / 0.8108 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.4264, allocations: 0 / 0.8108 GB, free: 26.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.4267, allocations: 57.67 kB / 0.8109 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4267, allocations: 0 / 0.8109 GB, free: 26.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4267, allocations: 3.953 kB / 0.8109 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.4267, allocations: 4 kB / 0.8109 GB, free: 26.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.427, allocations: 47.95 kB / 0.8109 GB, free: 26.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.4273, allocations: 248.9 kB / 0.8111 GB, free: 26.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.4275, allocations: 42.5 kB / 0.8112 GB, free: 26.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.4276, allocations: 32.89 kB / 0.8112 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000808/0.4285, allocations: 457.4 kB / 0.8117 GB, free: 25.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.4285, allocations: 42.5 kB / 0.8117 GB, free: 25.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.4285, allocations: 4 kB / 0.8117 GB, free: 25.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0005032/0.429, allocations: 97.66 kB / 0.8118 GB, free: 25.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.22e-05/0.4291, allocations: 59.33 kB / 0.8118 GB, free: 25.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.073e-05/0.4291, allocations: 97.84 kB / 0.8119 GB, free: 25.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.4291, allocations: 25.7 kB / 0.812 GB, free: 25.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.024e-05/0.4292, allocations: 92.14 kB / 0.8121 GB, free: 25.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.4292, allocations: 3.906 kB / 0.8121 GB, free: 25.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.4292, allocations: 0 / 0.8121 GB, free: 25.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.4293, allocations: 314.8 kB / 0.8124 GB, free: 24.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.4294, allocations: 28.02 kB / 0.8124 GB, free: 24.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4296, allocations: 15.98 kB / 0.8124 GB, free: 24.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001326/0.4297, allocations: 28.05 kB / 0.8124 GB, free: 24.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.4297, allocations: 0 / 0.8124 GB, free: 24.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003016/0.43, allocations: 73.66 kB / 0.8125 GB, free: 24.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4301, allocations: 6.812 kB / 0.8125 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.892e-06/0.4301, allocations: 3.953 kB / 0.8125 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.4301, allocations: 32 / 0.8125 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4302, allocations: 23.92 kB / 0.8125 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4302, allocations: 0 / 0.8125 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.692e-05/0.4303, allocations: 11.92 kB / 0.8125 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.683e-06/0.4303, allocations: 0 / 0.8125 GB, free: 24.57 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.169e-05/0.4304, allocations: 113.8 kB / 0.8127 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.4305, allocations: 0 / 0.8127 GB, free: 24.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.4309, allocations: 80.78 kB / 0.8127 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.4309, allocations: 3.953 kB / 0.8127 GB, free: 24.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4309, allocations: 0 / 0.8127 GB, free: 24.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.4309, allocations: 77.11 kB / 0.8128 GB, free: 24.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.431, allocations: 7.984 kB / 0.8128 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.4311, allocations: 12.03 kB / 0.8128 GB, free: 24.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.4312, allocations: 3.984 kB / 0.8128 GB, free: 24.23 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004194/0.4316, allocations: 164.9 kB / 0.813 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003996/0.432, allocations: 254.7 kB / 0.8132 GB, free: 23.8 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001462/0.4322, allocations: 24.05 kB / 0.8133 GB, free: 23.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.663e-05/0.4322, allocations: 83.27 kB / 0.8133 GB, free: 23.7 MB / 378.7 MB Notification: Performance of Backend: time 6.41e-07/0.4322, allocations: 0 / 0.8133 GB, free: 23.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.4328, allocations: 126.3 kB / 0.8135 GB, free: 23.57 MB / 378.7 MB Notification: Performance of SimCode: time 0.0003234/0.4332, allocations: 0.541 MB / 0.814 GB, free: 22.97 MB / 378.7 MB Notification: Performance of Templates: time 0.003297/0.4365, allocations: 0.6747 MB / 0.8146 GB, free: 22.3 MB / 378.7 MB