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.001232/0.001232, allocations: 108 kB / 16.41 MB, free: 6.457 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.001196/0.001196, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002018/0.002018, allocations: 290.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.8831/0.8831, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.00185, allocations: 103.8 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4289, allocations: 86.97 MB / 0.7671 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001632/0.4306, allocations: 0.5785 MB / 0.7676 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004355/0.431, allocations: 199.3 kB / 0.7678 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.254e-05/0.431, allocations: 0 / 0.7678 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.158e-05/0.4311, allocations: 0 / 0.7678 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.4311, allocations: 0 / 0.7678 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.4314, allocations: 55.77 kB / 0.7679 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.814e-05/0.4315, allocations: 4 kB / 0.7679 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.803e-05/0.4315, allocations: 7.938 kB / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.467e-05/0.4316, allocations: 0 / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.018e-05/0.4316, allocations: 3.984 kB / 0.7679 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.041e-06/0.4316, allocations: 0 / 0.7679 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.4318, allocations: 59.94 kB / 0.768 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.4318, allocations: 0 / 0.768 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.463e-05/0.4318, allocations: 0 / 0.768 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.4319, allocations: 31.94 kB / 0.768 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.4319, allocations: 4 kB / 0.768 GB, free: 3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 4.228e-06/0.4319, allocations: 0 / 0.768 GB, free: 3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.4319, allocations: 3.938 kB / 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.0002889/0.4322, allocations: 331.6 kB / 0.7683 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.4323, allocations: 11.97 kB / 0.7683 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.757e-05/0.4323, allocations: 4.938 kB / 0.7683 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.389e-05/0.4324, allocations: 160.4 kB / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-06/0.4324, allocations: 384 / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.4324, allocations: 384 / 0.7685 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.246e-05/0.4325, allocations: 26.27 kB / 0.7685 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.4325, allocations: 192 / 0.7685 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4325, allocations: 11.94 kB / 0.7685 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4326, allocations: 0 / 0.7685 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.4326, allocations: 0 / 0.7685 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.4327, allocations: 153.7 kB / 0.7687 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.467e-05/0.4328, allocations: 22.55 kB / 0.7687 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.41e-05/0.4328, allocations: 4.859 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007075/0.4335, allocations: 461.5 kB / 0.7691 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4335, allocations: 34.56 kB / 0.7692 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4335, allocations: 0 / 0.7692 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.4336, allocations: 37.58 kB / 0.7692 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.4337, allocations: 51.41 kB / 0.7693 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.385e-05/0.4337, allocations: 93.98 kB / 0.7693 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.4337, allocations: 29.69 kB / 0.7694 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.147e-05/0.4338, allocations: 80.14 kB / 0.7695 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.4338, allocations: 3.906 kB / 0.7695 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/0.4338, allocations: 17.72 kB / 0.7695 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.4339, allocations: 310.8 kB / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-06/0.4339, allocations: 0 / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-06/0.434, allocations: 4 kB / 0.7698 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.434, allocations: 8.922 kB / 0.7698 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.434, allocations: 0 / 0.7698 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.267e-05/0.4341, allocations: 49.56 kB / 0.7698 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.4341, allocations: 4 kB / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4341, allocations: 0 / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.4341, allocations: 3.938 kB / 0.7698 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-05/0.4341, allocations: 0 / 0.7698 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4341, allocations: 4 kB / 0.7698 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-06/0.4342, allocations: 0 / 0.7698 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.4342, allocations: 4.031 kB / 0.7698 GB, free: 0.793 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 6.611e-05/0.4342, allocations: 115.8 kB / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-06/0.4343, allocations: 0 / 0.77 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.93e-05/0.4343, allocations: 40.75 kB / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.4343, allocations: 4 kB / 0.77 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.4343, allocations: 0 / 0.77 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4344, allocations: 0 / 0.77 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.312e-05/0.4344, allocations: 145.7 kB / 0.7701 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4345, allocations: 0 / 0.7701 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.35e-05/0.4345, allocations: 11.97 kB / 0.7701 GB, free: 436 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4345, allocations: 7.969 kB / 0.7702 GB, free: 428 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.4345, allocations: 3.938 kB / 0.7702 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4345, allocations: 0 / 0.7702 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4345, allocations: 0 / 0.7702 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.505e-05/0.4346, allocations: 49.14 kB / 0.7702 GB, free: 356 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.4346, allocations: 81.11 kB / 0.7703 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.4346, allocations: 11.92 kB / 0.7703 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-06/0.4346, allocations: 4.031 kB / 0.7703 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.4346, allocations: 0 / 0.7703 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-06/0.4347, allocations: 4 kB / 0.7703 GB, free: 236 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.4347, allocations: 75.28 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4347, allocations: 0 / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000207/0.4349, allocations: 12 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.0001841/0.4351, allocations: 123.2 kB / 0.7705 GB, free: 12 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.985e-05/0.4352, allocations: 7.938 kB / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4352, allocations: 0 / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.119e-06/0.4352, allocations: 0 / 0.7705 GB, free: 4 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.4353, allocations: 4.25 kB / 0.7705 GB, free: 0 / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.4355, allocations: 102.8 kB / 0.7706 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.4357, allocations: 0.673 MB / 0.7713 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.4358, allocations: 11.44 kB / 0.7713 GB, free: 15.16 MB / 0.545 GB Notification: Performance of SimCode: time 3.4e-07/0.4358, allocations: 4 kB / 0.7713 GB, free: 15.15 MB / 0.545 GB Notification: Performance of Templates: time 0.001714/0.4375, allocations: 0.5558 MB / 0.7718 GB, free: 14.6 MB / 0.545 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)