Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 249.3 MB / 261.9 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001891/0.001892, allocations: 180.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009544/0.0009544, allocations: 94.45 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.88e-05/4.911e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2308, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6908/0.9217, allocations: 131.1 MB / 1.02 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.922, allocations: 74.89 kB / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003701/0.9257, allocations: 1.268 MB / 1.021 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.068e-06/0.9257, allocations: 0 / 1.021 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.9257, allocations: 3.938 kB / 1.021 GB, free: 2.488 MB / 0.6355 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.0002788/0.926, allocations: 334.2 kB / 1.022 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.9261, allocations: 8.031 kB / 1.022 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/0.9261, allocations: 34.56 kB / 1.022 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.103e-05/0.9262, allocations: 0 / 1.022 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.9263, allocations: 171 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.9263, allocations: 4 kB / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.9263, allocations: 0 / 1.022 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.75e-05/0.9264, allocations: 25.7 kB / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.9264, allocations: 0 / 1.022 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.9264, allocations: 6.547 kB / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.9265, allocations: 0 / 1.022 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.429e-05/0.9265, allocations: 7.938 kB / 1.022 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001557/0.9267, allocations: 152.5 kB / 1.022 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/0.9267, allocations: 18.61 kB / 1.022 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.501e-05/0.9267, allocations: 4.859 kB / 1.022 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006466/0.9274, allocations: 453.5 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.9274, allocations: 33.28 kB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.9274, allocations: 0 / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.9276, allocations: 37.52 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.9276, allocations: 51.41 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.678e-05/0.9277, allocations: 85 kB / 1.023 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.9277, allocations: 25.7 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.9278, allocations: 84.17 kB / 1.023 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.083e-05/0.9278, allocations: 7.984 kB / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.9278, allocations: 0 / 1.023 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.9279, allocations: 310.8 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.646e-06/0.9279, allocations: 0 / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-06/0.9279, allocations: 0 / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.008e-05/0.928, allocations: 4 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.928, allocations: 3.953 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.041e-05/0.928, allocations: 33.45 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.9281, allocations: 8.031 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9281, allocations: 3.938 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.9281, allocations: 7.938 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.461e-05/0.9282, allocations: 0 / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.9282, allocations: 3.984 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.032e-05/0.9282, allocations: 0 / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.9282, allocations: 0 / 1.023 GB, free: 328 kB / 0.6355 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 6.635e-05/0.9283, allocations: 105 kB / 1.023 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.9283, allocations: 3.953 kB / 1.023 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.9284, allocations: 40.78 kB / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.9284, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.9284, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.9284, allocations: 0 / 1.023 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.9285, allocations: 149.4 kB / 1.023 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.9285, allocations: 4 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.75e-05/0.9286, allocations: 11.89 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.9286, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.9286, allocations: 0 / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.9286, allocations: 3.938 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.9286, allocations: 4.031 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.267e-05/0.9287, allocations: 61.03 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.9287, allocations: 77.11 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.9287, allocations: 6.453 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-06/0.9288, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.9288, allocations: 4 kB / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.9288, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 2.801e-05/0.9288, allocations: 79.31 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9288, allocations: 0 / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002205/0.929, allocations: 23.92 kB / 1.024 GB, free: 15.66 MB / 0.6511 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.0005128/0.9296, allocations: 0.6257 MB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 6.249e-05/0.9296, allocations: 7.984 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.9296, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.675e-06/0.9297, allocations: 4 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.072e-05/0.9298, allocations: 3.953 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.93, allocations: 99.28 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.9303, allocations: 0.677 MB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.281e-05/0.9303, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.9303, allocations: 7.438 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/0.9303, allocations: 0 / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01236/0.9427, allocations: 0.9589 MB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/0.9429, allocations: 168.2 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.431, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)