Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 106 kB / 16.41 MB, free: 6.512 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.00157/0.00157, allocations: 195.8 kB / 17.34 MB, free: 5.758 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.35/1.35, 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.002437/0.002438, allocations: 288.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9676/0.9676, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 95.84 kB / 0.6822 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3905, allocations: 86.98 MB / 0.7671 GB, free: 3.914 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001585/0.3921, allocations: 0.5785 MB / 0.7677 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000448/0.3925, allocations: 187.4 kB / 0.7678 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.04e-05/0.3926, allocations: 0 / 0.7678 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.698e-06/0.3926, allocations: 0 / 0.7678 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.645e-06/0.3926, allocations: 7.938 kB / 0.7679 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003263/0.3929, allocations: 47.89 kB / 0.7679 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.649e-05/0.393, allocations: 3.938 kB / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 2.912e-05/0.393, allocations: 0 / 0.7679 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-06/0.393, allocations: 4 kB / 0.7679 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.809e-05/0.3931, allocations: 0 / 0.7679 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.52e-06/0.3931, allocations: 3.938 kB / 0.7679 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.3932, allocations: 59.92 kB / 0.768 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.931e-06/0.3932, allocations: 4 kB / 0.768 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.947e-05/0.3933, allocations: 4 kB / 0.768 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.3934, allocations: 35.73 kB / 0.768 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3934, allocations: 0 / 0.768 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3934, allocations: 0 / 0.768 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.3934, allocations: 0 / 0.768 GB, free: 2.992 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.000344/0.3938, allocations: 321.3 kB / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.3938, allocations: 15.97 kB / 0.7683 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.3938, allocations: 4.875 kB / 0.7683 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.3939, allocations: 164.4 kB / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.331e-06/0.394, allocations: 384 / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.618e-06/0.394, allocations: 384 / 0.7685 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.567e-05/0.3941, allocations: 30.27 kB / 0.7685 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.3941, allocations: 192 / 0.7685 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3941, allocations: 3.938 kB / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.3941, allocations: 0 / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.522e-05/0.3941, allocations: 0 / 0.7685 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001556/0.3943, allocations: 149.7 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.047e-05/0.3943, allocations: 30.55 kB / 0.7687 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.3943, allocations: 4.859 kB / 0.7687 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006923/0.395, allocations: 453.5 kB / 0.7691 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.3951, allocations: 38.56 kB / 0.7692 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3951, allocations: 0 / 0.7692 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001287/0.3952, allocations: 33.64 kB / 0.7692 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3953, allocations: 55.34 kB / 0.7693 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.477e-05/0.3953, allocations: 89.86 kB / 0.7693 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3953, allocations: 29.7 kB / 0.7694 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.839e-05/0.3954, allocations: 80.14 kB / 0.7694 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.3954, allocations: 3.953 kB / 0.7695 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/0.3954, allocations: 13.84 kB / 0.7695 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3956, allocations: 318.8 kB / 0.7698 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.3956, allocations: 4 kB / 0.7698 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-06/0.3956, allocations: 0 / 0.7698 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.294e-05/0.3956, allocations: 8.859 kB / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.3956, allocations: 0 / 0.7698 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.495e-05/0.3957, allocations: 29.7 kB / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.3957, allocations: 11.88 kB / 0.7698 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.3957, allocations: 4.094 kB / 0.7698 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.3957, allocations: 3.938 kB / 0.7698 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.534e-05/0.3958, allocations: 8 kB / 0.7698 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3958, allocations: 3.984 kB / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-06/0.3958, allocations: 0 / 0.7698 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.3958, allocations: 0 / 0.7698 GB, free: 0.8047 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 7.273e-05/0.3959, allocations: 113.8 kB / 0.7699 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.3959, allocations: 3.938 kB / 0.77 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.951e-05/0.396, allocations: 40.77 kB / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.396, allocations: 0 / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.396, allocations: 0 / 0.77 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.396, allocations: 3.984 kB / 0.77 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.3961, allocations: 141.7 kB / 0.7701 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3961, allocations: 4 kB / 0.7701 GB, free: 452 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.63e-05/0.3961, allocations: 4 kB / 0.7701 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3961, allocations: 3.938 kB / 0.7701 GB, free: 444 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3962, allocations: 3.938 kB / 0.7701 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3962, allocations: 0 / 0.7701 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3962, allocations: 0 / 0.7701 GB, free: 440 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.896e-05/0.3962, allocations: 61.16 kB / 0.7702 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.3963, allocations: 81.09 kB / 0.7703 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.3963, allocations: 3.938 kB / 0.7703 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.3963, allocations: 0 / 0.7703 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.356e-05/0.3963, allocations: 0 / 0.7703 GB, free: 256 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.3963, allocations: 4 kB / 0.7703 GB, free: 252 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.3964, allocations: 79.28 kB / 0.7704 GB, free: 172 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3964, allocations: 4.031 kB / 0.7704 GB, free: 168 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001893/0.3966, allocations: 15.92 kB / 0.7704 GB, free: 152 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.0001847/0.3968, allocations: 111.2 kB / 0.7705 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.164e-05/0.3969, allocations: 11.92 kB / 0.7705 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3969, allocations: 64 / 0.7705 GB, free: 16 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.824e-06/0.3969, allocations: 8 kB / 0.7705 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001141/0.397, allocations: 2.578 kB / 0.7705 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/0.3972, allocations: 77.06 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.3975, allocations: 0.6729 MB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.448e-06/0.3975, allocations: 0 / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.129e-05/0.3975, allocations: 7.438 kB / 0.7712 GB, free: 15.2 MB / 0.545 GB Notification: Performance of SimCode: time 2.11e-07/0.3975, allocations: 0 / 0.7712 GB, free: 15.2 MB / 0.545 GB Notification: Performance of Templates: time 0.002324/0.3998, allocations: 414.3 kB / 0.7716 GB, free: 14.8 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)