Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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/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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 114.7 kB / 16.37 MB, free: 5.984 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.001107/0.001107, allocations: 192.6 kB / 17.31 MB, free: 5.602 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.238/1.238, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002005/0.002005, allocations: 275.9 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8861, allocations: 169.2 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 98.06 kB / 0.5967 GB, free: 14.42 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.154, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001626/0.1556, allocations: 0.5785 MB / 0.6822 GB, free: 6.863 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.1561, allocations: 207.4 kB / 0.6824 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-06/0.1561, allocations: 0 / 0.6824 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.458e-06/0.1561, allocations: 0 / 0.6824 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.248e-06/0.1561, allocations: 0 / 0.6824 GB, free: 6.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003386/0.1565, allocations: 51.83 kB / 0.6824 GB, free: 6.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.1e-05/0.1565, allocations: 7.938 kB / 0.6824 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.813e-05/0.1565, allocations: 0 / 0.6824 GB, free: 6.602 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.453e-05/0.1565, allocations: 7.922 kB / 0.6824 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.622e-05/0.1566, allocations: 0 / 0.6824 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.56e-06/0.1566, allocations: 0 / 0.6824 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.1567, allocations: 63.88 kB / 0.6825 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.342e-06/0.1567, allocations: 4 kB / 0.6825 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.541e-05/0.1568, allocations: 0 / 0.6825 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.869e-05/0.1569, allocations: 35.94 kB / 0.6825 GB, free: 6.492 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1569, allocations: 0 / 0.6825 GB, free: 6.492 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1569, allocations: 4 kB / 0.6825 GB, free: 6.488 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.1569, allocations: 0 / 0.6825 GB, free: 6.488 MB / 494.1 MB 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.0002469/0.1571, allocations: 319.6 kB / 0.6828 GB, free: 6.125 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.897e-05/0.1572, allocations: 8.031 kB / 0.6829 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.261e-05/0.1572, allocations: 0.9375 kB / 0.6829 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.1573, allocations: 164.4 kB / 0.683 GB, free: 5.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.1573, allocations: 4.375 kB / 0.683 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-06/0.1573, allocations: 384 / 0.683 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.511e-05/0.1574, allocations: 34.19 kB / 0.6831 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.1574, allocations: 192 / 0.6831 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1574, allocations: 3.938 kB / 0.6831 GB, free: 5.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1574, allocations: 4 kB / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.576e-05/0.1575, allocations: 0 / 0.6831 GB, free: 5.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001381/0.1576, allocations: 145.7 kB / 0.6832 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.46e-05/0.1576, allocations: 26.55 kB / 0.6832 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.575e-05/0.1577, allocations: 4.859 kB / 0.6832 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006672/0.1583, allocations: 457.5 kB / 0.6837 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.1584, allocations: 46.5 kB / 0.6837 GB, free: 5.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1584, allocations: 0 / 0.6837 GB, free: 5.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001135/0.1585, allocations: 37.62 kB / 0.6837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1585, allocations: 51.41 kB / 0.6838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.677e-05/0.1586, allocations: 89.86 kB / 0.6839 GB, free: 4.836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.1586, allocations: 25.7 kB / 0.6839 GB, free: 4.805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.1586, allocations: 84.14 kB / 0.684 GB, free: 4.719 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1587, allocations: 0 / 0.684 GB, free: 4.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.1587, allocations: 17.84 kB / 0.684 GB, free: 4.695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1588, allocations: 310.8 kB / 0.6843 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.316e-06/0.1588, allocations: 0 / 0.6843 GB, free: 4.383 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/0.1588, allocations: 3.984 kB / 0.6843 GB, free: 4.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.115e-05/0.1589, allocations: 12.8 kB / 0.6843 GB, free: 4.363 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1589, allocations: 0 / 0.6843 GB, free: 4.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.72e-05/0.1589, allocations: 33.7 kB / 0.6843 GB, free: 4.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1589, allocations: 11.94 kB / 0.6844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1589, allocations: 4.094 kB / 0.6844 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.159, allocations: 3.938 kB / 0.6844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.244e-05/0.159, allocations: 0 / 0.6844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.159, allocations: 4 kB / 0.6844 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.677e-06/0.159, allocations: 0 / 0.6844 GB, free: 4.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.159, allocations: 0 / 0.6844 GB, free: 4.301 MB / 494.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 (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 6.548e-05/0.1591, allocations: 109.8 kB / 0.6845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.1591, allocations: 0 / 0.6845 GB, free: 4.184 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/0.1592, allocations: 48.64 kB / 0.6845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1592, allocations: 0 / 0.6845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/0.1592, allocations: 4 kB / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1592, allocations: 0 / 0.6845 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.733e-05/0.1593, allocations: 149.7 kB / 0.6847 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1593, allocations: 0 / 0.6847 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.004e-05/0.1593, allocations: 0 / 0.6847 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.1593, allocations: 4 kB / 0.6847 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.1594, allocations: 3.938 kB / 0.6847 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1594, allocations: 3.938 kB / 0.6847 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1594, allocations: 0 / 0.6847 GB, free: 3.918 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.784e-05/0.1594, allocations: 65.09 kB / 0.6847 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.1595, allocations: 85.02 kB / 0.6848 GB, free: 3.734 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-06/0.1595, allocations: 3.938 kB / 0.6848 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-06/0.1595, allocations: 0 / 0.6848 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.245e-05/0.1595, allocations: 0 / 0.6848 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.1595, allocations: 0 / 0.6848 GB, free: 3.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.289e-05/0.1595, allocations: 75.28 kB / 0.6849 GB, free: 3.656 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1596, allocations: 4.031 kB / 0.6849 GB, free: 3.652 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001951/0.1598, allocations: 12 kB / 0.6849 GB, free: 3.641 MB / 494.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 (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.0001787/0.1599, allocations: 119.2 kB / 0.685 GB, free: 3.512 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.867e-05/0.16, allocations: 4 kB / 0.685 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.16, allocations: 0 / 0.685 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.544e-06/0.16, allocations: 8 kB / 0.685 GB, free: 3.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.1601, allocations: 11.97 kB / 0.685 GB, free: 3.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001529/0.1603, allocations: 77.08 kB / 0.6851 GB, free: 3.387 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.1606, allocations: 0.669 MB / 0.6858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.508e-06/0.1606, allocations: 0 / 0.6858 GB, free: 2.691 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.1606, allocations: 11.44 kB / 0.6858 GB, free: 2.68 MB / 494.1 MB Notification: Performance of SimCode: time 2e-07/0.1606, allocations: 0 / 0.6858 GB, free: 2.68 MB / 494.1 MB Notification: Performance of Templates: time 0.001992/0.1626, allocations: 420.2 kB / 0.6862 GB, free: 2.273 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)