Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000837/0.000837, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.007027/0.007027, allocations: 174.4 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.738/1.738, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005252/0.0005253, allocations: 15.72 kB / 0.6744 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2564, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001428/0.2579, allocations: 1.156 MB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000556/0.2584, allocations: 261.2 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.2585, allocations: 0 / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2585, allocations: 7.922 kB / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.2585, allocations: 0 / 0.7894 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.2588, allocations: 47.91 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.489e-05/0.2589, allocations: 19.92 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.129e-05/0.259, allocations: 0 / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.259, allocations: 11.98 kB / 0.7895 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.854e-05/0.2591, allocations: 15.92 kB / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.616e-06/0.2591, allocations: 0 / 0.7895 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.2593, allocations: 67.88 kB / 0.7895 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.2593, allocations: 4 kB / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.2593, allocations: 33.64 kB / 0.7896 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2595, allocations: 55.84 kB / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2595, allocations: 0 / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2595, allocations: 0 / 0.7896 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2595, allocations: 0 / 0.7896 GB, free: 9.801 MB / 0.6075 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.0004199/0.2599, allocations: 355.7 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.26, allocations: 8.031 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.26, allocations: 30.75 kB / 0.79 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.44e-05/0.26, allocations: 8.875 kB / 0.79 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2602, allocations: 168.4 kB / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.2602, allocations: 384 / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-06/0.2602, allocations: 384 / 0.7902 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.2604, allocations: 58.23 kB / 0.7902 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2604, allocations: 7.938 kB / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-06/0.2604, allocations: 0 / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.2605, allocations: 0 / 0.7902 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.2606, allocations: 43.97 kB / 0.7903 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.261, allocations: 256.8 kB / 0.7905 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2611, allocations: 38.5 kB / 0.7906 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.859e-05/0.2613, allocations: 32.91 kB / 0.7906 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006577/0.2619, allocations: 461.4 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.262, allocations: 34.56 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.262, allocations: 4 kB / 0.7911 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003791/0.2623, allocations: 93.58 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.2624, allocations: 59.53 kB / 0.7912 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.2625, allocations: 101.8 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2625, allocations: 25.7 kB / 0.7913 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.2625, allocations: 88.08 kB / 0.7914 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.2626, allocations: 3.906 kB / 0.7914 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.109e-05/0.2626, allocations: 9.719 kB / 0.7914 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.672e-05/0.2627, allocations: 318.8 kB / 0.7917 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.2628, allocations: 23.98 kB / 0.7918 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.409e-05/0.2628, allocations: 19.98 kB / 0.7918 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.263, allocations: 48.89 kB / 0.7918 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.263, allocations: 7.922 kB / 0.7918 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000188/0.2632, allocations: 77.61 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2632, allocations: 6.688 kB / 0.7919 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2633, allocations: 4 kB / 0.7919 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2633, allocations: 4 kB / 0.7919 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.597e-05/0.2634, allocations: 15.98 kB / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.2634, allocations: 0 / 0.7919 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.2634, allocations: 7.984 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.2634, allocations: 0 / 0.7919 GB, free: 7.102 MB / 0.6075 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 7.154e-05/0.2635, allocations: 122.4 kB / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.2635, allocations: 0 / 0.7921 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.2638, allocations: 84.72 kB / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2638, allocations: 0 / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2638, allocations: 0 / 0.7921 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2638, allocations: 4.031 kB / 0.7921 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.264, allocations: 169.6 kB / 0.7923 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.264, allocations: 0 / 0.7923 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.264, allocations: 11.98 kB / 0.7923 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.264, allocations: 0 / 0.7923 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.264, allocations: 0 / 0.7923 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.264, allocations: 0 / 0.7923 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.264, allocations: 0 / 0.7923 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.2643, allocations: 183.5 kB / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.2643, allocations: 81.09 kB / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.2643, allocations: 0 / 0.7926 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.477e-05/0.2644, allocations: 15.95 kB / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.2645, allocations: 7.938 kB / 0.7926 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.2645, allocations: 0 / 0.7926 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.2645, allocations: 83.28 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2645, allocations: 3.938 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002334/0.2648, allocations: 12 kB / 0.7927 GB, free: 6.238 MB / 0.6075 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.0005945/0.2654, allocations: 0.7242 MB / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.2656, allocations: 51.95 kB / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2656, allocations: 0 / 0.7934 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.803e-05/0.2657, allocations: 27.98 kB / 0.7935 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.2659, allocations: 4 kB / 0.7935 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003899/0.2663, allocations: 142.3 kB / 0.7936 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.2665, allocations: 0.677 MB / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.854e-05/0.2666, allocations: 0 / 0.7943 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.2666, allocations: 11.44 kB / 0.7943 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.2666, allocations: 4.062 kB / 0.7943 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01074/0.2773, allocations: 1.255 MB / 0.7955 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/0.2776, allocations: 187.5 kB / 0.7957 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.874, allocations: 0 / 0.7957 GB, free: 3.105 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)