Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 114.8 kB / 16.41 MB, free: 6.492 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.001708/0.001708, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.445/1.445, 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.00251/0.00251, allocations: 287 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 1.001/1.001, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002776/0.002776, allocations: 99.83 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4435, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002573/0.4461, allocations: 1.422 MB / 0.7685 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005786/0.4467, allocations: 260 kB / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.4467, allocations: 0 / 0.7687 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.4467, allocations: 3.938 kB / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.362e-05/0.4468, allocations: 0 / 0.7687 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.4471, allocations: 63.81 kB / 0.7688 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.045e-05/0.4472, allocations: 19.92 kB / 0.7688 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.275e-05/0.4473, allocations: 8 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.651e-05/0.4473, allocations: 11.92 kB / 0.7688 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.4473, allocations: 11.97 kB / 0.7688 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.4474, allocations: 8 kB / 0.7688 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000141/0.4475, allocations: 59.89 kB / 0.7689 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.4475, allocations: 7.922 kB / 0.7689 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.4475, allocations: 8 kB / 0.7689 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.4477, allocations: 55.66 kB / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4477, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4477, allocations: 0 / 0.7689 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.4477, allocations: 0 / 0.7689 GB, free: 1.965 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004781/0.4482, allocations: 345.2 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.4482, allocations: 12.03 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.4482, allocations: 8.875 kB / 0.7693 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4484, allocations: 168.3 kB / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.4484, allocations: 384 / 0.7695 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.4484, allocations: 4.375 kB / 0.7695 GB, free: 1.355 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.4485, allocations: 54.16 kB / 0.7695 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.894e-06/0.4486, allocations: 4.188 kB / 0.7695 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.4486, allocations: 3.938 kB / 0.7695 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.4486, allocations: 0 / 0.7695 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.4487, allocations: 31.97 kB / 0.7696 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.4491, allocations: 245 kB / 0.7698 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.4492, allocations: 46.38 kB / 0.7698 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.4493, allocations: 24.91 kB / 0.7699 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007032/0.45, allocations: 457.5 kB / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.45, allocations: 30.56 kB / 0.7703 GB, free: 316 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.45, allocations: 0 / 0.7703 GB, free: 316 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003533/0.4504, allocations: 85.64 kB / 0.7704 GB, free: 224 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.4504, allocations: 51.41 kB / 0.7704 GB, free: 160 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.4505, allocations: 105.8 kB / 0.7705 GB, free: 44 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.4505, allocations: 25.7 kB / 0.7706 GB, free: 12 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.4506, allocations: 88.02 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.4506, allocations: 7.953 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.267e-05/0.4507, allocations: 13.84 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4508, allocations: 318.8 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.4509, allocations: 15.98 kB / 0.771 GB, free: 15.56 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.4509, allocations: 15.98 kB / 0.771 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.4511, allocations: 36.81 kB / 0.771 GB, free: 15.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4511, allocations: 4.062 kB / 0.7711 GB, free: 15.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.4513, allocations: 65.61 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4513, allocations: 4 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4513, allocations: 0 / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4513, allocations: 4 kB / 0.7711 GB, free: 15.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.4514, allocations: 15.92 kB / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.4514, allocations: 0 / 0.7711 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.4515, allocations: 7.984 kB / 0.7711 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.4515, allocations: 4.031 kB / 0.7711 GB, free: 15.39 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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 8.029e-05/0.4516, allocations: 116.2 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.4516, allocations: 3.953 kB / 0.7713 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.4518, allocations: 72.78 kB / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4518, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4518, allocations: 0 / 0.7713 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.4518, allocations: 3.984 kB / 0.7713 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001777/0.452, allocations: 161.6 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.452, allocations: 3.938 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.4521, allocations: 15.98 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.4521, allocations: 0 / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.4521, allocations: 0 / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.4521, allocations: 7.875 kB / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4521, allocations: 0 / 0.7715 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.4523, allocations: 167.5 kB / 0.7717 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.948e-05/0.4524, allocations: 77.11 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.4524, allocations: 0 / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.641e-05/0.4524, allocations: 7.984 kB / 0.7718 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.4525, allocations: 4 kB / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.4525, allocations: 0 / 0.7718 GB, free: 14.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.4525, allocations: 79.47 kB / 0.7718 GB, free: 14.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.4525, allocations: 0 / 0.7718 GB, free: 14.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000241/0.4528, allocations: 27.95 kB / 0.7719 GB, free: 14.57 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.0001951/0.453, allocations: 111.4 kB / 0.772 GB, free: 14.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002178/0.4532, allocations: 43.89 kB / 0.772 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4532, allocations: 4.062 kB / 0.772 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.218e-05/0.4533, allocations: 11.98 kB / 0.772 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.4535, allocations: 11.94 kB / 0.772 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.4538, allocations: 103.3 kB / 0.7721 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.4541, allocations: 0.6806 MB / 0.7728 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.186e-05/0.4541, allocations: 4 kB / 0.7728 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.4541, allocations: 11.5 kB / 0.7728 GB, free: 13.52 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.4541, allocations: 0 / 0.7728 GB, free: 13.52 MB / 0.545 GB Notification: Performance of Templates: time 0.003161/0.4573, allocations: 0.6628 MB / 0.7735 GB, free: 12.86 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)