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.0009652/0.0009653, allocations: 113.5 kB / 16.37 MB, free: 6.004 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.001003/0.001004, allocations: 196 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002077/0.002077, allocations: 283 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8746/0.8746, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 94.58 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1489, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001639/0.1506, allocations: 0.5836 MB / 0.6822 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003996/0.151, allocations: 195.5 kB / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-06/0.151, allocations: 0 / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.206e-05/0.151, allocations: 0 / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.151, allocations: 0 / 0.6824 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003133/0.1514, allocations: 51.83 kB / 0.6824 GB, free: 6.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.082e-05/0.1514, allocations: 8 kB / 0.6824 GB, free: 6.637 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.098e-05/0.1514, allocations: 3.938 kB / 0.6824 GB, free: 6.633 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.335e-05/0.1515, allocations: 3.938 kB / 0.6824 GB, free: 6.629 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.662e-05/0.1515, allocations: 3.984 kB / 0.6824 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.39e-06/0.1515, allocations: 0 / 0.6824 GB, free: 6.625 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.1516, allocations: 59.94 kB / 0.6825 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-06/0.1517, allocations: 0 / 0.6825 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.223e-05/0.1517, allocations: 0 / 0.6825 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.29e-05/0.1518, allocations: 39.95 kB / 0.6825 GB, free: 6.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.1518, allocations: 0 / 0.6825 GB, free: 6.527 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1518, allocations: 0 / 0.6825 GB, free: 6.527 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1518, allocations: 7.938 kB / 0.6825 GB, free: 6.52 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.0002438/0.152, allocations: 315.6 kB / 0.6828 GB, free: 6.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1521, allocations: 12.03 kB / 0.6829 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.328e-05/0.1521, allocations: 4.922 kB / 0.6829 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.018e-05/0.1522, allocations: 164.4 kB / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-06/0.1522, allocations: 384 / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-06/0.1522, allocations: 384 / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.773e-05/0.1523, allocations: 30.25 kB / 0.683 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1523, allocations: 4.188 kB / 0.683 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.1523, allocations: 7.938 kB / 0.6831 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.1523, allocations: 0 / 0.6831 GB, free: 5.898 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.673e-05/0.1523, allocations: 4 kB / 0.6831 GB, free: 5.895 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/0.1525, allocations: 141.7 kB / 0.6832 GB, free: 5.707 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.06e-05/0.1525, allocations: 26.48 kB / 0.6832 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.356e-05/0.1525, allocations: 4.859 kB / 0.6832 GB, free: 5.664 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006399/0.1532, allocations: 461.5 kB / 0.6837 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.1532, allocations: 34.56 kB / 0.6837 GB, free: 5.078 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1532, allocations: 0 / 0.6837 GB, free: 5.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001055/0.1533, allocations: 41.56 kB / 0.6837 GB, free: 5.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1533, allocations: 55.41 kB / 0.6838 GB, free: 4.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.592e-05/0.1534, allocations: 93.98 kB / 0.6839 GB, free: 4.863 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.1534, allocations: 25.7 kB / 0.6839 GB, free: 4.832 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/0.1534, allocations: 80.14 kB / 0.684 GB, free: 4.75 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1535, allocations: 3.938 kB / 0.684 GB, free: 4.746 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.1535, allocations: 13.72 kB / 0.684 GB, free: 4.727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.1536, allocations: 310.8 kB / 0.6843 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-06/0.1536, allocations: 0 / 0.6843 GB, free: 4.414 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.1536, allocations: 4 kB / 0.6843 GB, free: 4.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.163e-05/0.1536, allocations: 16.91 kB / 0.6843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1536, allocations: 0 / 0.6843 GB, free: 4.391 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.604e-05/0.1537, allocations: 37.64 kB / 0.6843 GB, free: 4.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1537, allocations: 4 kB / 0.6844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1537, allocations: 0 / 0.6844 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1537, allocations: 7.938 kB / 0.6844 GB, free: 4.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.05e-05/0.1538, allocations: 4 kB / 0.6844 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.1538, allocations: 0 / 0.6844 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.486e-06/0.1538, allocations: 0 / 0.6844 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.1538, allocations: 4.031 kB / 0.6844 GB, free: 4.328 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 5.1e-05/0.1538, allocations: 109.8 kB / 0.6845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.67e-06/0.1539, allocations: 0 / 0.6845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.1539, allocations: 44.56 kB / 0.6845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1539, allocations: 4 kB / 0.6845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.154, allocations: 0 / 0.6845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.154, allocations: 0 / 0.6845 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.192e-05/0.154, allocations: 145.7 kB / 0.6847 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.154, allocations: 0 / 0.6847 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.195e-05/0.1541, allocations: 11.97 kB / 0.6847 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1541, allocations: 0 / 0.6847 GB, free: 3.957 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1541, allocations: 3.938 kB / 0.6847 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.1541, allocations: 3.938 kB / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1541, allocations: 0 / 0.6847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.506e-05/0.1541, allocations: 61.12 kB / 0.6847 GB, free: 3.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.718e-05/0.1542, allocations: 81.02 kB / 0.6848 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.037e-06/0.1542, allocations: 7.969 kB / 0.6848 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-06/0.1542, allocations: 0 / 0.6848 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.605e-06/0.1542, allocations: 0 / 0.6848 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.1542, allocations: 0 / 0.6848 GB, free: 3.766 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.819e-05/0.1543, allocations: 75.28 kB / 0.6849 GB, free: 3.691 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1543, allocations: 0 / 0.6849 GB, free: 3.691 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000184/0.1544, allocations: 12 kB / 0.6849 GB, free: 3.68 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.0001591/0.1546, allocations: 126.2 kB / 0.685 GB, free: 3.547 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.271e-05/0.1547, allocations: 7.938 kB / 0.685 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1547, allocations: 0 / 0.685 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-06/0.1547, allocations: 4 kB / 0.685 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.1548, allocations: 7.938 kB / 0.685 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000147/0.155, allocations: 73.06 kB / 0.6851 GB, free: 3.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/0.1552, allocations: 0.673 MB / 0.6858 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 9.548e-06/0.1552, allocations: 4 kB / 0.6858 GB, free: 2.727 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.407e-06/0.1552, allocations: 11.44 kB / 0.6858 GB, free: 2.715 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1552, allocations: 0 / 0.6858 GB, free: 2.715 MB / 494.1 MB Notification: Performance of Templates: time 0.001942/0.1572, allocations: 417.1 kB / 0.6862 GB, free: 2.309 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)