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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001204/0.001205, allocations: 185 kB / 377.1 MB, free: 1.523 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.737/1.737, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0009511/0.00095, allocations: 94.03 kB / 0.7509 GB, free: 63.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 8 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3336, allocations: 116.3 MB / 0.9884 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8712/1.205, allocations: 139.1 MB / 1.124 GB, free: 35.49 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/1.205, allocations: 77.73 kB / 1.124 GB, free: 35.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004949/1.21, allocations: 1.571 MB / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.408e-06/1.21, allocations: 0 / 1.126 GB, free: 34.23 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.279e-05/1.21, allocations: 0 / 1.126 GB, free: 34.23 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.0005426/1.211, allocations: 359.5 kB / 1.126 GB, free: 33.85 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.486e-05/1.211, allocations: 16.02 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/1.211, allocations: 30.56 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/1.211, allocations: 9.906 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/1.211, allocations: 175.5 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/1.211, allocations: 4.562 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/1.211, allocations: 3.438 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/1.211, allocations: 52.64 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.211, allocations: 1.312 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/1.211, allocations: 0 / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/1.211, allocations: 0 / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/1.212, allocations: 46.36 kB / 1.127 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005045/1.212, allocations: 264.2 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/1.212, allocations: 52.06 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005976/1.213, allocations: 443.7 kB / 1.127 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.213, allocations: 38.08 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.733e-06/1.213, allocations: 0 / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003971/1.213, allocations: 103.4 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/1.213, allocations: 51.41 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.276e-05/1.213, allocations: 93.08 kB / 1.128 GB, free: 32.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/1.213, allocations: 29.7 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/1.214, allocations: 86.83 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/1.214, allocations: 3.906 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/1.214, allocations: 0 / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.038e-05/1.214, allocations: 318.8 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/1.214, allocations: 26.75 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-05/1.214, allocations: 15.28 kB / 1.128 GB, free: 31.86 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.025e-05/1.214, allocations: 30.48 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.214, allocations: 0 / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/1.214, allocations: 75.92 kB / 1.128 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.214, allocations: 7.938 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.214, allocations: 0 / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.214, allocations: 8.031 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/1.214, allocations: 12.03 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/1.214, allocations: 0 / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/1.214, allocations: 7.562 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/1.214, allocations: 4.656 kB / 1.128 GB, free: 31.74 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 7.672e-05/1.214, allocations: 113.8 kB / 1.128 GB, free: 31.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/1.215, allocations: 4.609 kB / 1.128 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/1.215, allocations: 79.11 kB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/1.215, allocations: 0 / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.215, allocations: 0.625 kB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/1.215, allocations: 0 / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/1.215, allocations: 169.1 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.215, allocations: 0.5156 kB / 1.129 GB, free: 31.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/1.215, allocations: 15.72 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.215, allocations: 0 / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/1.215, allocations: 0 / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.215, allocations: 0.5 kB / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/1.215, allocations: 0 / 1.129 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/1.215, allocations: 178.6 kB / 1.129 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.887e-05/1.215, allocations: 82.05 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/1.215, allocations: 3.375 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.548e-05/1.215, allocations: 12.44 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/1.215, allocations: 7.453 kB / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/1.215, allocations: 0 / 1.129 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.13e-05/1.216, allocations: 83.28 kB / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 0 / 1.129 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002659/1.216, allocations: 27.36 kB / 1.129 GB, free: 30.93 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.0005878/1.216, allocations: 0.7473 MB / 1.13 GB, free: 30.17 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002129/1.217, allocations: 42.69 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/1.217, allocations: 0 / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.907e-05/1.217, allocations: 31.61 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/1.217, allocations: 7.422 kB / 1.13 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/1.217, allocations: 146.8 kB / 1.13 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/1.218, allocations: 0.6771 MB / 1.131 GB, free: 29.24 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.455e-05/1.218, allocations: 8.562 kB / 1.131 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/1.218, allocations: 18.83 kB / 1.131 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of SimCode: time 9.01e-07/1.218, allocations: 0 / 1.131 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/1.234, allocations: 1.209 MB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002863/1.234, allocations: 166.3 kB / 1.132 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/3.017, allocations: 0 / 1.132 GB, free: 28.36 MB / 0.7292 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/linux/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)