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.007166/0.007166, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001863/0.001864, allocations: 201.5 kB / 16.68 MB, free: 5.969 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002056/0.002056, allocations: 286.4 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9342/0.9342, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 91.86 kB / 0.6815 GB, free: 15.45 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1514, allocations: 86.98 MB / 0.7664 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001479/0.1529, allocations: 0.5886 MB / 0.767 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004284/0.1534, allocations: 199.3 kB / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.158e-05/0.1534, allocations: 0 / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.149e-05/0.1534, allocations: 0 / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.18e-06/0.1534, allocations: 0 / 0.7672 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1538, allocations: 59.81 kB / 0.7672 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.172e-05/0.1538, allocations: 4 kB / 0.7672 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.664e-05/0.1539, allocations: 4 kB / 0.7672 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.22e-05/0.1539, allocations: 0 / 0.7672 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 1.668e-05/0.1539, allocations: 0 / 0.7672 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.49e-06/0.1539, allocations: 3.938 kB / 0.7673 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1541, allocations: 67.86 kB / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.482e-06/0.1541, allocations: 0 / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.256e-05/0.1541, allocations: 0 / 0.7673 GB, free: 7.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.1542, allocations: 43.81 kB / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1542, allocations: 0 / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.22e-07/0.1542, allocations: 0 / 0.7674 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.1542, allocations: 4 kB / 0.7674 GB, free: 7.43 MB / 0.5606 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.0002593/0.1545, allocations: 315.5 kB / 0.7677 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1545, allocations: 12.02 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.1546, allocations: 0.9375 kB / 0.7677 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.372e-05/0.1547, allocations: 160.4 kB / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-06/0.1547, allocations: 384 / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.1547, allocations: 384 / 0.7678 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.165e-05/0.1548, allocations: 30.27 kB / 0.7679 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-06/0.1548, allocations: 8.125 kB / 0.7679 GB, free: 6.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1548, allocations: 3.938 kB / 0.7679 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.1548, allocations: 0 / 0.7679 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.755e-05/0.1548, allocations: 4 kB / 0.7679 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.1549, allocations: 149.7 kB / 0.768 GB, free: 6.617 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.61e-05/0.155, allocations: 14.58 kB / 0.768 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.524e-05/0.155, allocations: 8.953 kB / 0.768 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006874/0.1557, allocations: 461.5 kB / 0.7685 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.1557, allocations: 30.56 kB / 0.7685 GB, free: 6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1557, allocations: 3.938 kB / 0.7685 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001073/0.1559, allocations: 33.64 kB / 0.7685 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.1559, allocations: 59.53 kB / 0.7686 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.683e-05/0.1559, allocations: 89.86 kB / 0.7687 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.156, allocations: 29.7 kB / 0.7687 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.189e-05/0.156, allocations: 80.14 kB / 0.7688 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/0.156, allocations: 3.953 kB / 0.7688 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.156, allocations: 13.7 kB / 0.7688 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1561, allocations: 314.8 kB / 0.7691 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.485e-06/0.1562, allocations: 0 / 0.7691 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-06/0.1562, allocations: 4 kB / 0.7691 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.292e-05/0.1562, allocations: 12.8 kB / 0.7691 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.1562, allocations: 0 / 0.7691 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.555e-05/0.1563, allocations: 37.64 kB / 0.7692 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1563, allocations: 4 kB / 0.7692 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1563, allocations: 7.984 kB / 0.7692 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1563, allocations: 3.938 kB / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.289e-05/0.1563, allocations: 0 / 0.7692 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1563, allocations: 3.938 kB / 0.7692 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.115e-05/0.1564, allocations: 4.094 kB / 0.7692 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1564, allocations: 0 / 0.7692 GB, free: 5.246 MB / 0.5606 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 6.444e-05/0.1564, allocations: 110.5 kB / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-06/0.1564, allocations: 0 / 0.7693 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.1565, allocations: 48.69 kB / 0.7693 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1565, allocations: 0 / 0.7693 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1565, allocations: 0 / 0.7693 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1565, allocations: 0 / 0.7693 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.438e-05/0.1566, allocations: 145.7 kB / 0.7695 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1566, allocations: 4.031 kB / 0.7695 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.1567, allocations: 4 kB / 0.7695 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.1567, allocations: 0 / 0.7695 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1567, allocations: 3.938 kB / 0.7695 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.1567, allocations: 3.984 kB / 0.7695 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1567, allocations: 4 kB / 0.7695 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.64e-05/0.1567, allocations: 61.06 kB / 0.7695 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.1568, allocations: 77.11 kB / 0.7696 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.1568, allocations: 7.969 kB / 0.7696 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.692e-06/0.1568, allocations: 0 / 0.7696 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.1568, allocations: 7.984 kB / 0.7696 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1568, allocations: 0 / 0.7696 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.262e-05/0.1569, allocations: 75.28 kB / 0.7697 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1569, allocations: 0 / 0.7697 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001909/0.1571, allocations: 15.94 kB / 0.7697 GB, free: 4.59 MB / 0.5606 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.0001659/0.1572, allocations: 119.2 kB / 0.7698 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.663e-05/0.1573, allocations: 4 kB / 0.7698 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1573, allocations: 0 / 0.7698 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.284e-06/0.1573, allocations: 4 kB / 0.7698 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001256/0.1574, allocations: 4 kB / 0.7699 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.1576, allocations: 93.81 kB / 0.7699 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1578, allocations: 0.6729 MB / 0.7706 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.818e-06/0.1578, allocations: 0 / 0.7706 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.314e-05/0.1578, allocations: 7.438 kB / 0.7706 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1579, allocations: 0 / 0.7706 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of Templates: time 0.002082/0.1599, allocations: 413 kB / 0.771 GB, free: 3.223 MB / 0.5606 GB 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)