Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 114.3 kB / 16.37 MB, free: 6 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.001154/0.001154, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.308/1.308, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.868/0.868, allocations: 143.1 MB / 434.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001258, allocations: 67.89 kB / 0.5156 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3415, allocations: 82.04 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0): time 0.002135/0.3437, allocations: 1.424 MB / 0.5971 GB, free: 14.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003997/0.3441, allocations: 246.8 kB / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.3441, allocations: 0 / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.3441, allocations: 0 / 0.5973 GB, free: 14.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.81e-05/0.3442, allocations: 3.938 kB / 0.5973 GB, free: 14.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.3445, allocations: 59.83 kB / 0.5974 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.482e-05/0.3446, allocations: 25.02 kB / 0.5974 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.421e-05/0.3446, allocations: 4 kB / 0.5974 GB, free: 14.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.3447, allocations: 21.41 kB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.3447, allocations: 3.938 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.3447, allocations: 4 kB / 0.5974 GB, free: 14.38 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.3448, allocations: 63.88 kB / 0.5975 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.231e-05/0.3449, allocations: 8.562 kB / 0.5975 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.3449, allocations: 3.938 kB / 0.5975 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001175/0.345, allocations: 61.53 kB / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.345, allocations: 0 / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.345, allocations: 0 / 0.5976 GB, free: 14.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.345, allocations: 0 / 0.5976 GB, free: 14.25 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.0003339/0.3454, allocations: 344.6 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3454, allocations: 8.031 kB / 0.5979 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.406e-05/0.3455, allocations: 5.625 kB / 0.5979 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.204e-05/0.3455, allocations: 164.4 kB / 0.5981 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.3455, allocations: 1.875 kB / 0.5981 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.3456, allocations: 384 / 0.5981 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.3457, allocations: 55.66 kB / 0.5981 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.3457, allocations: 4.125 kB / 0.5981 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.3457, allocations: 3.938 kB / 0.5981 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3457, allocations: 0 / 0.5981 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.3459, allocations: 38.11 kB / 0.5982 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.3461, allocations: 240.9 kB / 0.5984 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.3462, allocations: 43.62 kB / 0.5984 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.3463, allocations: 25.88 kB / 0.5985 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004723/0.3468, allocations: 463.5 kB / 0.5989 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.3468, allocations: 40.09 kB / 0.5989 GB, free: 12.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3468, allocations: 0 / 0.5989 GB, free: 12.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002928/0.3471, allocations: 77.02 kB / 0.599 GB, free: 12.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.512e-05/0.3471, allocations: 51.41 kB / 0.5991 GB, free: 12.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.555e-05/0.3472, allocations: 101.9 kB / 0.5992 GB, free: 12.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.3472, allocations: 25.7 kB / 0.5992 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.317e-05/0.3472, allocations: 80.14 kB / 0.5993 GB, free: 12.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.3473, allocations: 13.36 kB / 0.5993 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.3473, allocations: 13.72 kB / 0.5993 GB, free: 12.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.3473, allocations: 310.8 kB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/0.3474, allocations: 17.08 kB / 0.5996 GB, free: 11.88 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.882e-05/0.3475, allocations: 21.27 kB / 0.5996 GB, free: 11.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.3476, allocations: 38.34 kB / 0.5997 GB, free: 11.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.3476, allocations: 4 kB / 0.5997 GB, free: 11.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001504/0.3478, allocations: 70.94 kB / 0.5997 GB, free: 11.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.3478, allocations: 8 kB / 0.5997 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.3478, allocations: 0 / 0.5997 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3478, allocations: 1.344 kB / 0.5997 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.3479, allocations: 4 kB / 0.5997 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3479, allocations: 0 / 0.5997 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.3479, allocations: 9.359 kB / 0.5998 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.3479, allocations: 7.938 kB / 0.5998 GB, free: 11.71 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.159e-05/0.348, allocations: 114.5 kB / 0.5999 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.348, allocations: 5.312 kB / 0.5999 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3482, allocations: 78.02 kB / 0.6 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3482, allocations: 0 / 0.6 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3482, allocations: 0 / 0.6 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3482, allocations: 0 / 0.6 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000108/0.3483, allocations: 162.9 kB / 0.6001 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3483, allocations: 0 / 0.6001 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.146e-05/0.3484, allocations: 11.98 kB / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3484, allocations: 1.469 kB / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3484, allocations: 4 kB / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3484, allocations: 0 / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3484, allocations: 0 / 0.6001 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.3486, allocations: 173.7 kB / 0.6003 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.3487, allocations: 78.94 kB / 0.6004 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.3487, allocations: 5.125 kB / 0.6004 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.3487, allocations: 3.984 kB / 0.6004 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3488, allocations: 5.406 kB / 0.6004 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3488, allocations: 0 / 0.6004 GB, free: 11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.208e-05/0.3488, allocations: 87.45 kB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3488, allocations: 1.344 kB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000222/0.349, allocations: 12 kB / 0.6005 GB, free: 10.9 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.0001672/0.3492, allocations: 118.2 kB / 0.6006 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.3494, allocations: 39.91 kB / 0.6006 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3495, allocations: 1.344 kB / 0.6006 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.3495, allocations: 19.98 kB / 0.6006 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.3498, allocations: 4.75 kB / 0.6007 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.35, allocations: 98.8 kB / 0.6007 GB, free: 10.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3501, allocations: 0.6856 MB / 0.6014 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.722e-05/0.3501, allocations: 0 / 0.6014 GB, free: 9.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.3502, allocations: 7.438 kB / 0.6014 GB, free: 9.871 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3502, allocations: 1.344 kB / 0.6014 GB, free: 9.871 MB / 446.1 MB Notification: Performance of Templates: time 0.002851/0.353, allocations: 0.6474 MB / 0.6021 GB, free: 9.25 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)