Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 109 kB / 16.41 MB, free: 6.043 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.001213/0.001213, allocations: 194.3 kB / 17.34 MB, free: 5.629 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.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 287.8 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9976/0.9976, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 95.84 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4344, allocations: 86.99 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001609/0.436, allocations: 0.5699 MB / 0.7677 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004841/0.4365, allocations: 183.4 kB / 0.7678 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.205e-05/0.4365, allocations: 3.938 kB / 0.7678 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.4365, allocations: 0 / 0.7678 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.4365, allocations: 0 / 0.7678 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000377/0.4369, allocations: 59.81 kB / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.221e-05/0.4369, allocations: 0 / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.808e-05/0.437, allocations: 0 / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.239e-05/0.437, allocations: 0 / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.761e-05/0.437, allocations: 4 kB / 0.7679 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-06/0.437, allocations: 0 / 0.7679 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.4372, allocations: 55.94 kB / 0.768 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.4372, allocations: 7.984 kB / 0.768 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.784e-05/0.4372, allocations: 0 / 0.768 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.4373, allocations: 35.7 kB / 0.768 GB, free: 3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.4373, allocations: 4 kB / 0.768 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4373, allocations: 0 / 0.768 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.4373, allocations: 0 / 0.768 GB, free: 2.996 MB / 0.5294 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.0003387/0.4377, allocations: 317.3 kB / 0.7683 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.4377, allocations: 8.031 kB / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.4377, allocations: 8.875 kB / 0.7683 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.4378, allocations: 172.3 kB / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.4378, allocations: 384 / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.4378, allocations: 384 / 0.7685 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.278e-05/0.4379, allocations: 30.27 kB / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4379, allocations: 192 / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.438, allocations: 7.938 kB / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.438, allocations: 0 / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.164e-05/0.438, allocations: 7.938 kB / 0.7685 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001501/0.4381, allocations: 141.7 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.613e-05/0.4382, allocations: 30.59 kB / 0.7687 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.4382, allocations: 4.859 kB / 0.7687 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000723/0.4389, allocations: 457.5 kB / 0.7691 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.4389, allocations: 34.56 kB / 0.7692 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.4389, allocations: 0 / 0.7692 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/0.4391, allocations: 45.56 kB / 0.7692 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.4391, allocations: 51.41 kB / 0.7693 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.656e-05/0.4392, allocations: 89.86 kB / 0.7693 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.4392, allocations: 25.7 kB / 0.7694 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.4392, allocations: 80.14 kB / 0.7694 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.4392, allocations: 7.953 kB / 0.7695 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.4393, allocations: 9.844 kB / 0.7695 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4394, allocations: 314.8 kB / 0.7698 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.4394, allocations: 0 / 0.7698 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-06/0.4394, allocations: 4 kB / 0.7698 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.4394, allocations: 8.859 kB / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4394, allocations: 0 / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.404e-05/0.4395, allocations: 41.62 kB / 0.7698 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4395, allocations: 4 kB / 0.7698 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4395, allocations: 4.094 kB / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.4395, allocations: 3.938 kB / 0.7698 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.609e-05/0.4396, allocations: 4 kB / 0.7698 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.4396, allocations: 0 / 0.7698 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.315e-06/0.4396, allocations: 0 / 0.7698 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.4396, allocations: 0 / 0.7698 GB, free: 0.8086 MB / 0.5294 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 7.426e-05/0.4397, allocations: 105.8 kB / 0.7699 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.4397, allocations: 4 kB / 0.7699 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.4397, allocations: 52.62 kB / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4397, allocations: 4.031 kB / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.4397, allocations: 0 / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4397, allocations: 0 / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.4398, allocations: 145.7 kB / 0.7701 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.4398, allocations: 3.938 kB / 0.7701 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-05/0.4399, allocations: 4 kB / 0.7701 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4399, allocations: 0 / 0.7701 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.4399, allocations: 3.938 kB / 0.7701 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.4399, allocations: 0 / 0.7701 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4399, allocations: 0 / 0.7701 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.926e-05/0.4399, allocations: 65.12 kB / 0.7702 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.463e-05/0.44, allocations: 77.11 kB / 0.7703 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.44, allocations: 3.938 kB / 0.7703 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.44, allocations: 3.984 kB / 0.7703 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.44, allocations: 0 / 0.7703 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.44, allocations: 4 kB / 0.7703 GB, free: 248 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.114e-05/0.44, allocations: 79.22 kB / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.44, allocations: 8.031 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001969/0.4402, allocations: 11.94 kB / 0.7704 GB, free: 148 kB / 0.5294 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.0001872/0.4404, allocations: 115.2 kB / 0.7705 GB, free: 20 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 6.93e-05/0.4405, allocations: 8 kB / 0.7705 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4405, allocations: 0 / 0.7705 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.981e-06/0.4405, allocations: 4.062 kB / 0.7705 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.4406, allocations: 4 kB / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.4408, allocations: 77.05 kB / 0.7706 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.4411, allocations: 0.669 MB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.227e-05/0.4411, allocations: 7.984 kB / 0.7712 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/0.4411, allocations: 7.438 kB / 0.7712 GB, free: 15.19 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4411, allocations: 0 / 0.7712 GB, free: 15.19 MB / 0.545 GB Notification: Performance of Templates: time 0.002457/0.4436, allocations: 414.1 kB / 0.7716 GB, free: 14.79 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)