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.001318/0.001318, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001237/0.001237, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 283.5 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9108/0.9108, allocations: 169.2 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001814, allocations: 95.84 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.426, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001481/0.4275, allocations: 0.5747 MB / 0.7677 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000408/0.4279, allocations: 175.4 kB / 0.7678 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.38e-05/0.4279, allocations: 0 / 0.7678 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.4279, allocations: 3.938 kB / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.841e-06/0.428, allocations: 0 / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003478/0.4283, allocations: 55.81 kB / 0.7679 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.334e-05/0.4283, allocations: 7.938 kB / 0.7679 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.4284, allocations: 0 / 0.7679 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.278e-05/0.4284, allocations: 8 kB / 0.7679 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.79e-05/0.4284, allocations: 0 / 0.7679 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.221e-06/0.4284, allocations: 0 / 0.7679 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.4286, allocations: 63.86 kB / 0.768 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.502e-06/0.4286, allocations: 0 / 0.768 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.366e-05/0.4286, allocations: 0 / 0.768 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.4287, allocations: 35.94 kB / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.4287, allocations: 0 / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4287, allocations: 0 / 0.768 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.4288, allocations: 0 / 0.768 GB, free: 3.016 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.000262/0.429, allocations: 319.6 kB / 0.7683 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.4291, allocations: 8.031 kB / 0.7683 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.4291, allocations: 4.922 kB / 0.7683 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.562e-05/0.4292, allocations: 160.4 kB / 0.7685 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4292, allocations: 8.312 kB / 0.7685 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.4292, allocations: 8.312 kB / 0.7685 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.003e-05/0.4293, allocations: 30.27 kB / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.4293, allocations: 192 / 0.7685 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.4293, allocations: 3.938 kB / 0.7685 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.4293, allocations: 0 / 0.7685 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.877e-05/0.4293, allocations: 8 kB / 0.7685 GB, free: 2.383 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.4295, allocations: 145.7 kB / 0.7687 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.4295, allocations: 18.58 kB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.4295, allocations: 16.89 kB / 0.7687 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/0.4302, allocations: 449.5 kB / 0.7691 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.4302, allocations: 34.56 kB / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.4302, allocations: 0 / 0.7691 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.4303, allocations: 41.62 kB / 0.7692 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.4304, allocations: 51.41 kB / 0.7692 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.939e-05/0.4304, allocations: 89.86 kB / 0.7693 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.4304, allocations: 25.7 kB / 0.7693 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.4305, allocations: 84.27 kB / 0.7694 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.4305, allocations: 3.906 kB / 0.7694 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.4305, allocations: 13.72 kB / 0.7694 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.323e-05/0.4306, allocations: 310.8 kB / 0.7697 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.4306, allocations: 3.938 kB / 0.7697 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.865e-06/0.4306, allocations: 7.984 kB / 0.7698 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.222e-05/0.4307, allocations: 8.859 kB / 0.7698 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4307, allocations: 4.062 kB / 0.7698 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.14e-05/0.4307, allocations: 33.7 kB / 0.7698 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.4307, allocations: 7.938 kB / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.4307, allocations: 0 / 0.7698 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.4308, allocations: 3.938 kB / 0.7698 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.3e-05/0.4308, allocations: 0 / 0.7698 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.4308, allocations: 4 kB / 0.7698 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-06/0.4308, allocations: 0 / 0.7698 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.4308, allocations: 0 / 0.7698 GB, free: 0.8281 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 5.824e-05/0.4309, allocations: 123.9 kB / 0.7699 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-06/0.4309, allocations: 0 / 0.7699 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.773e-05/0.431, allocations: 40.77 kB / 0.77 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.431, allocations: 7.938 kB / 0.77 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.431, allocations: 0 / 0.77 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.431, allocations: 0 / 0.77 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.76e-05/0.4311, allocations: 145.7 kB / 0.7701 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4311, allocations: 0 / 0.7701 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.4311, allocations: 0 / 0.7701 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.4311, allocations: 7.984 kB / 0.7701 GB, free: 464 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.4312, allocations: 7.969 kB / 0.7701 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4312, allocations: 0 / 0.7701 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.4312, allocations: 0 / 0.7701 GB, free: 456 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.044e-05/0.4313, allocations: 61.06 kB / 0.7702 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.4313, allocations: 81.11 kB / 0.7703 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.035e-05/0.4313, allocations: 7.938 kB / 0.7703 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.4313, allocations: 0 / 0.7703 GB, free: 268 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.419e-05/0.4313, allocations: 4.031 kB / 0.7703 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.4313, allocations: 0 / 0.7703 GB, free: 264 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.137e-05/0.4314, allocations: 75.28 kB / 0.7703 GB, free: 188 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.4314, allocations: 0 / 0.7703 GB, free: 188 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001861/0.4316, allocations: 16 kB / 0.7704 GB, free: 172 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.0001701/0.4317, allocations: 123.2 kB / 0.7705 GB, free: 36 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 5.927e-05/0.4318, allocations: 8 kB / 0.7705 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.4318, allocations: 0 / 0.7705 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-06/0.4318, allocations: 3.938 kB / 0.7705 GB, free: 24 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.4319, allocations: 6.234 kB / 0.7705 GB, free: 20 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001706/0.4321, allocations: 98.77 kB / 0.7706 GB, free: 15.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.4323, allocations: 0.669 MB / 0.7712 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.599e-05/0.4323, allocations: 7.438 kB / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.4324, allocations: 8.125 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of Templates: time 0.001673/0.434, allocations: 0.5554 MB / 0.7718 GB, free: 14.63 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)