Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1") translateModel(Buildings.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.001631/0.00163, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.66 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.002046/0.335, allocations: 0.5738 MB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004731/0.3355, allocations: 203.3 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.383e-05/0.3355, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.631e-05/0.3356, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-06/0.3356, allocations: 0 / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.336, allocations: 59.81 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.336, allocations: 3.938 kB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.3361, allocations: 4 kB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.3361, allocations: 0 / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.488e-05/0.3361, allocations: 3.938 kB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-06/0.3361, allocations: 4 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.3363, allocations: 59.94 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.528e-06/0.3364, allocations: 0 / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.3364, allocations: 3.984 kB / 1.069 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.3365, allocations: 35.89 kB / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3365, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3365, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3365, allocations: 0 / 1.069 GB, free: 9.457 MB / 0.8262 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.0002967/0.3368, allocations: 319.6 kB / 1.069 GB, free: 9.094 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3369, allocations: 12.02 kB / 1.069 GB, free: 9.082 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.447e-05/0.3369, allocations: 4.938 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.337, allocations: 160.4 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.337, allocations: 384 / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.337, allocations: 4.375 kB / 1.07 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.275e-05/0.3371, allocations: 26.27 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3371, allocations: 192 / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.3371, allocations: 3.938 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3371, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.3372, allocations: 7.938 kB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.3373, allocations: 155.8 kB / 1.07 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.481e-05/0.3374, allocations: 14.58 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.3374, allocations: 12.95 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000761/0.3381, allocations: 461.5 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3382, allocations: 34.5 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3382, allocations: 0 / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001328/0.3383, allocations: 37.58 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3384, allocations: 55.41 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.31e-05/0.3384, allocations: 89.86 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.3384, allocations: 25.7 kB / 1.07 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.3385, allocations: 80.14 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3385, allocations: 12.11 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.678e-05/0.3386, allocations: 9.719 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3387, allocations: 314.8 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.068e-05/0.3387, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-06/0.3387, allocations: 0 / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.703e-05/0.3387, allocations: 8.859 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.3387, allocations: 0 / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.344e-05/0.3388, allocations: 45.61 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.3388, allocations: 7.938 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.3388, allocations: 3.984 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3388, allocations: 7.938 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.02e-05/0.3389, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3389, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.708e-06/0.3389, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.3389, allocations: 0 / 1.071 GB, free: 7.266 MB / 0.8262 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.981e-05/0.339, allocations: 109.8 kB / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/0.339, allocations: 0 / 1.071 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.138e-05/0.3391, allocations: 48.72 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3391, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3391, allocations: 0 / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.3391, allocations: 3.984 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/0.3392, allocations: 153.7 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3392, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.3392, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3393, allocations: 0 / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.3393, allocations: 7.922 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.3393, allocations: 0 / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.3393, allocations: 8.031 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.509e-05/0.3393, allocations: 53.14 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.3394, allocations: 81.05 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.3394, allocations: 3.938 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-06/0.3394, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.3394, allocations: 11.98 kB / 1.071 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.3394, allocations: 3.938 kB / 1.071 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.732e-05/0.3395, allocations: 79.31 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3395, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002055/0.3397, allocations: 12 kB / 1.071 GB, free: 6.598 MB / 0.8262 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.0002124/0.3399, allocations: 115.8 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.804e-05/0.34, allocations: 8 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.34, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.474e-06/0.34, allocations: 4 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001312/0.3401, allocations: 0 / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001808/0.3403, allocations: 84.92 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.3405, allocations: 0.6768 MB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.134e-05/0.3406, allocations: 4 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.317e-05/0.3406, allocations: 7.438 kB / 1.072 GB, free: 5.637 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.3406, allocations: 3.938 kB / 1.072 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.002668/0.3433, allocations: 414.8 kB / 1.073 GB, free: 5.23 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & ./Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)