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.001284/0.001284, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001032/0.001032, allocations: 187 kB / 17.34 MB, free: 5.754 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.258/1.258, 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.002119/0.002119, allocations: 289.6 kB / 291.5 MB, free: 14.46 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.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 103.8 kB / 0.6822 GB, free: 6.895 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4708/0.4725, allocations: 86.96 MB / 0.7671 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001673/0.4742, allocations: 0.5824 MB / 0.7677 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004458/0.4747, allocations: 179.4 kB / 0.7678 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.315e-05/0.4747, allocations: 3.938 kB / 0.7678 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.523e-05/0.4748, allocations: 0 / 0.7678 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-06/0.4748, allocations: 0 / 0.7678 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003849/0.4752, allocations: 51.83 kB / 0.7679 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.783e-05/0.4752, allocations: 11.98 kB / 0.7679 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.868e-05/0.4753, allocations: 0 / 0.7679 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.32e-05/0.4753, allocations: 0 / 0.7679 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.4753, allocations: 0 / 0.7679 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-06/0.4753, allocations: 0 / 0.7679 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.4755, allocations: 63.88 kB / 0.7679 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.4755, allocations: 0 / 0.7679 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.517e-05/0.4755, allocations: 0 / 0.7679 GB, free: 2.965 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.4756, allocations: 31.94 kB / 0.768 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4757, allocations: 0 / 0.768 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4757, allocations: 0 / 0.768 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.4757, allocations: 4 kB / 0.768 GB, free: 2.93 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.0002631/0.4759, allocations: 319.6 kB / 0.7683 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.248e-05/0.476, allocations: 8.031 kB / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.086e-05/0.476, allocations: 0.9375 kB / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.26e-05/0.4761, allocations: 168.3 kB / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.769e-06/0.4761, allocations: 384 / 0.7685 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-06/0.4761, allocations: 4.312 kB / 0.7685 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.4762, allocations: 30.27 kB / 0.7685 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.001e-06/0.4762, allocations: 4.188 kB / 0.7685 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.4762, allocations: 3.938 kB / 0.7685 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4762, allocations: 0 / 0.7685 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.638e-05/0.4763, allocations: 0 / 0.7685 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001244/0.4764, allocations: 153.7 kB / 0.7686 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.4764, allocations: 18.58 kB / 0.7687 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.4765, allocations: 16.83 kB / 0.7687 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006471/0.4771, allocations: 453.5 kB / 0.7691 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.4771, allocations: 30.56 kB / 0.7691 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.4772, allocations: 0 / 0.7691 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001194/0.4773, allocations: 41.62 kB / 0.7692 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.4773, allocations: 51.41 kB / 0.7692 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.281e-05/0.4774, allocations: 93.98 kB / 0.7693 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.4774, allocations: 25.7 kB / 0.7693 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.202e-05/0.4774, allocations: 80.14 kB / 0.7694 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.4774, allocations: 3.906 kB / 0.7694 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.586e-05/0.4775, allocations: 17.72 kB / 0.7694 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.531e-05/0.4775, allocations: 310.8 kB / 0.7697 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.011e-05/0.4776, allocations: 3.938 kB / 0.7697 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.49e-06/0.4776, allocations: 0 / 0.7697 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.333e-05/0.4776, allocations: 16.91 kB / 0.7698 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4776, allocations: 0 / 0.7698 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.937e-05/0.4777, allocations: 37.7 kB / 0.7698 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.4777, allocations: 8 kB / 0.7698 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.4777, allocations: 0 / 0.7698 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.4777, allocations: 3.938 kB / 0.7698 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.684e-05/0.4777, allocations: 0 / 0.7698 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.4778, allocations: 0 / 0.7698 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.418e-06/0.4778, allocations: 0 / 0.7698 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-06/0.4778, allocations: 8.031 kB / 0.7698 GB, free: 0.7383 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.679e-05/0.4778, allocations: 119.8 kB / 0.7699 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.985e-06/0.4779, allocations: 0 / 0.7699 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.076e-05/0.4779, allocations: 40.7 kB / 0.77 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4779, allocations: 0 / 0.77 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.4779, allocations: 0 / 0.77 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.478, allocations: 0 / 0.77 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.307e-05/0.4781, allocations: 153.7 kB / 0.7701 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4781, allocations: 0 / 0.7701 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/0.4781, allocations: 4.031 kB / 0.7701 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4781, allocations: 0 / 0.7701 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4781, allocations: 11.92 kB / 0.7701 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4781, allocations: 0 / 0.7701 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4781, allocations: 0 / 0.7701 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.024e-05/0.4782, allocations: 57.06 kB / 0.7702 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.4782, allocations: 81.11 kB / 0.7703 GB, free: 192 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.4782, allocations: 7.938 kB / 0.7703 GB, free: 184 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.714e-06/0.4782, allocations: 4.031 kB / 0.7703 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-06/0.4783, allocations: 0 / 0.7703 GB, free: 180 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.4783, allocations: 3.938 kB / 0.7703 GB, free: 176 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.534e-05/0.4783, allocations: 75.28 kB / 0.7703 GB, free: 100 kB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.4783, allocations: 0 / 0.7703 GB, free: 100 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001966/0.4785, allocations: 16 kB / 0.7704 GB, free: 84 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.0002071/0.4787, allocations: 123.2 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.395e-05/0.4788, allocations: 4 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4788, allocations: 0 / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.821e-06/0.4788, allocations: 7.938 kB / 0.7705 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001199/0.4789, allocations: 5.406 kB / 0.7705 GB, free: 15.94 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001888/0.4791, allocations: 112.6 kB / 0.7706 GB, free: 15.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.4793, allocations: 0.673 MB / 0.7713 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.4793, allocations: 7.438 kB / 0.7713 GB, free: 15.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.4793, allocations: 0 / 0.7713 GB, free: 15.09 MB / 0.545 GB Notification: Performance of Templates: time 0.001773/0.4811, allocations: 0.552 MB / 0.7718 GB, free: 14.54 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)