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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8265/0.8265, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 187.5 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.5 MB / 436.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000847/0.000847, allocations: 88.09 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001747/0.001747, allocations: 280.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.912e-05/1.913e-05, allocations: 8 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3882, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.5211, allocations: 107.4 MB / 0.8622 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.5214, allocations: 79.83 kB / 0.8623 GB, free: 4.441 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.003663/0.5251, allocations: 1.279 MB / 0.8636 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5251, allocations: 0 / 0.8636 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.5251, allocations: 0 / 0.8636 GB, free: 3.164 MB / 0.5261 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.000216/0.5253, allocations: 331.5 kB / 0.8639 GB, free: 2.797 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.5254, allocations: 12.03 kB / 0.8639 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.183e-05/0.5254, allocations: 3.984 kB / 0.8639 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.68e-05/0.5255, allocations: 159.1 kB / 0.864 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.5255, allocations: 3.953 kB / 0.864 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.5255, allocations: 0 / 0.864 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.756e-05/0.5256, allocations: 0 / 0.864 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.629e-05/0.5256, allocations: 33.64 kB / 0.8641 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.5256, allocations: 0 / 0.8641 GB, free: 2.543 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.263e-06/0.5257, allocations: 4 kB / 0.8641 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.5257, allocations: 0 / 0.8641 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.5258, allocations: 126.2 kB / 0.8642 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.006e-05/0.5258, allocations: 18.61 kB / 0.8642 GB, free: 2.352 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.674e-05/0.5258, allocations: 8.844 kB / 0.8642 GB, free: 2.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005744/0.5264, allocations: 449.5 kB / 0.8647 GB, free: 1.809 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.5264, allocations: 34.52 kB / 0.8647 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5265, allocations: 0 / 0.8647 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001201/0.5266, allocations: 37.64 kB / 0.8647 GB, free: 1.723 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.5266, allocations: 51.41 kB / 0.8648 GB, free: 1.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.751e-05/0.5266, allocations: 85 kB / 0.8649 GB, free: 1.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.5267, allocations: 33.72 kB / 0.8649 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.811e-05/0.5267, allocations: 80.14 kB / 0.865 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.5267, allocations: 4 kB / 0.865 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.5267, allocations: 0 / 0.865 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.5268, allocations: 310.8 kB / 0.8653 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.281e-06/0.5268, allocations: 0 / 0.8653 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.5268, allocations: 0 / 0.8653 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.566e-05/0.5269, allocations: 4 kB / 0.8653 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5269, allocations: 0 / 0.8653 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.621e-05/0.5269, allocations: 37.77 kB / 0.8653 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.527, allocations: 4 kB / 0.8653 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.527, allocations: 0 / 0.8653 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.527, allocations: 3.953 kB / 0.8653 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-05/0.527, allocations: 11.92 kB / 0.8653 GB, free: 1.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-06/0.5271, allocations: 3.938 kB / 0.8653 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.003e-05/0.5271, allocations: 0 / 0.8653 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.5271, allocations: 3.938 kB / 0.8653 GB, free: 1.059 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.514e-05/0.5271, allocations: 101 kB / 0.8654 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.838e-06/0.5272, allocations: 15.94 kB / 0.8654 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.639e-05/0.5272, allocations: 33.45 kB / 0.8655 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.5272, allocations: 0 / 0.8655 GB, free: 0.8984 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.5273, allocations: 7.938 kB / 0.8655 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.5273, allocations: 0 / 0.8655 GB, free: 0.8906 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.55e-05/0.5273, allocations: 122.2 kB / 0.8656 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.5273, allocations: 0 / 0.8656 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.227e-05/0.5274, allocations: 4 kB / 0.8656 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5274, allocations: 0 / 0.8656 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.5274, allocations: 0 / 0.8656 GB, free: 0.7305 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.5274, allocations: 4.031 kB / 0.8656 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5274, allocations: 0 / 0.8656 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.006e-05/0.5275, allocations: 65.02 kB / 0.8657 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.5275, allocations: 81.11 kB / 0.8657 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.5275, allocations: 0 / 0.8657 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.5275, allocations: 0 / 0.8657 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.163e-05/0.5275, allocations: 0 / 0.8657 GB, free: 0.5469 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.5276, allocations: 4.031 kB / 0.8658 GB, free: 0.543 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.263e-05/0.5276, allocations: 75.28 kB / 0.8658 GB, free: 480 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5276, allocations: 0 / 0.8658 GB, free: 480 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002129/0.5278, allocations: 27.92 kB / 0.8658 GB, free: 452 kB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.528, allocations: 139.1 kB / 0.866 GB, free: 304 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.86e-05/0.5281, allocations: 7.938 kB / 0.866 GB, free: 296 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.5281, allocations: 0 / 0.866 GB, free: 296 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.272e-06/0.5281, allocations: 4 kB / 0.866 GB, free: 292 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.705e-05/0.5282, allocations: 0 / 0.866 GB, free: 292 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001155/0.5283, allocations: 48.02 kB / 0.866 GB, free: 220 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.5285, allocations: 0.6729 MB / 0.8667 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.038e-05/0.5286, allocations: 4 kB / 0.8667 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.031e-05/0.5286, allocations: 11.56 kB / 0.8667 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.5286, allocations: 0 / 0.8667 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.001948/0.5305, allocations: 374.1 kB / 0.8671 GB, free: 15.14 MB / 0.5417 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)