Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.6 MB / 307.5 MB, free: 5.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 180.8 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 0.6366 GB, free: 8.641 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008464/0.0008464, allocations: 93.75 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004185, allocations: 12 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3179, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8464/1.164, allocations: 139.1 MB / 1.124 GB, free: 35.54 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/1.165, allocations: 72.14 kB / 1.124 GB, free: 35.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004552/1.169, allocations: 1.542 MB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.445e-06/1.169, allocations: 4 kB / 1.126 GB, free: 34.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.169, allocations: 0 / 1.126 GB, free: 34.31 MB / 0.7292 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.0004087/1.17, allocations: 355.4 kB / 1.126 GB, free: 33.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.17, allocations: 12.02 kB / 1.126 GB, free: 33.91 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.194e-05/1.17, allocations: 38.56 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.848e-05/1.17, allocations: 6.469 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/1.17, allocations: 159.1 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.17, allocations: 4 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/1.17, allocations: 7.375 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/1.17, allocations: 60.44 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.17, allocations: 0 / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/1.17, allocations: 0.5625 kB / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/1.17, allocations: 0 / 1.126 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000186/1.17, allocations: 43.88 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004291/1.171, allocations: 271.2 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/1.171, allocations: 48.5 kB / 1.127 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/1.172, allocations: 447 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/1.172, allocations: 30.56 kB / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.582e-06/1.172, allocations: 0 / 1.127 GB, free: 32.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003643/1.172, allocations: 95.48 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/1.172, allocations: 51.41 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.853e-05/1.172, allocations: 93.39 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/1.172, allocations: 37.64 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.119e-05/1.172, allocations: 84.14 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/1.172, allocations: 3.906 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/1.172, allocations: 0 / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.867e-05/1.172, allocations: 321 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/1.172, allocations: 23.98 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/1.172, allocations: 19.56 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.604e-05/1.172, allocations: 26.98 kB / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/1.172, allocations: 0 / 1.128 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001936/1.173, allocations: 80.84 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.173, allocations: 4.625 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/1.173, allocations: 0.6562 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.173, allocations: 4 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.177e-05/1.173, allocations: 11.52 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/1.173, allocations: 0 / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.177e-05/1.173, allocations: 12.03 kB / 1.128 GB, free: 31.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/1.173, allocations: 4.609 kB / 1.128 GB, free: 31.82 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/1.173, allocations: 117.7 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.317e-05/1.173, allocations: 0.5625 kB / 1.128 GB, free: 31.7 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/1.173, allocations: 82.52 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.173, allocations: 1 kB / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.173, allocations: 0 / 1.128 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.173, allocations: 4.516 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/1.173, allocations: 160.5 kB / 1.128 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.173, allocations: 0.75 kB / 1.128 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/1.173, allocations: 8 kB / 1.128 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.173, allocations: 7.5 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/1.173, allocations: 0.6875 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/1.173, allocations: 3.938 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/1.173, allocations: 0 / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/1.174, allocations: 181.6 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.256e-05/1.174, allocations: 81.67 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/1.174, allocations: 1.344 kB / 1.129 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/1.174, allocations: 11.56 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/1.174, allocations: 3.562 kB / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-06/1.174, allocations: 0 / 1.129 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.199e-05/1.174, allocations: 84.17 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.174, allocations: 4.031 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000248/1.174, allocations: 27.94 kB / 1.129 GB, free: 31.01 MB / 0.7292 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 (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.0006324/1.175, allocations: 0.7338 MB / 1.13 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002159/1.175, allocations: 50.58 kB / 1.13 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.175, allocations: 0 / 1.13 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.249e-05/1.175, allocations: 23.42 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/1.175, allocations: 4.562 kB / 1.13 GB, free: 30.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/1.176, allocations: 150.5 kB / 1.13 GB, free: 30.03 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/1.176, allocations: 0.6841 MB / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.44e-05/1.176, allocations: 4.438 kB / 1.13 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.364e-05/1.176, allocations: 12.09 kB / 1.13 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/1.176, allocations: 4 kB / 1.13 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/1.19, allocations: 1.21 MB / 1.132 GB, free: 28.68 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.191, allocations: 166.2 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.949, allocations: 4.062 kB / 1.132 GB, free: 28.44 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)