Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.916/1.916, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001148/0.001148, allocations: 195.3 kB / 377.1 MB, free: 1.52 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.919/1.919, allocations: 205.4 MB / 0.6366 GB, free: 8.609 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.0009951/0.0009951, allocations: 98.08 kB / 0.7509 GB, free: 63.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 12 kB / 0.8749 GB, free: 11.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3029, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9001/1.203, allocations: 138.4 MB / 1.124 GB, free: 36.03 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/1.203, allocations: 78.64 kB / 1.124 GB, free: 35.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003551/1.207, allocations: 1.276 MB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.585e-06/1.207, allocations: 3.312 kB / 1.125 GB, free: 34.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.207, allocations: 0 / 1.125 GB, free: 34.98 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002703/1.207, allocations: 332 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/1.207, allocations: 12.02 kB / 1.125 GB, free: 34.6 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/1.207, allocations: 30.56 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/1.207, allocations: 2.062 kB / 1.125 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.14e-05/1.207, allocations: 167.7 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/1.208, allocations: 2.781 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/1.208, allocations: 3.438 kB / 1.125 GB, free: 34.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/1.208, allocations: 33.53 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/1.208, allocations: 0 / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.036e-06/1.208, allocations: 0 / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.208, allocations: 4 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/1.208, allocations: 1.906 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001375/1.208, allocations: 149.7 kB / 1.126 GB, free: 34.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.297e-05/1.208, allocations: 23.11 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/1.208, allocations: 442.2 kB / 1.126 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/1.209, allocations: 38.56 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 3.116e-06/1.209, allocations: 0.9844 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.000139/1.209, allocations: 39.98 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/1.209, allocations: 52.16 kB / 1.126 GB, free: 33.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.736e-05/1.209, allocations: 85 kB / 1.126 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.108e-06/1.209, allocations: 25.7 kB / 1.126 GB, free: 33.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.548e-05/1.209, allocations: 80.14 kB / 1.126 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/1.209, allocations: 9.125 kB / 1.126 GB, free: 33.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-06/1.209, allocations: 8.125 kB / 1.126 GB, free: 33.22 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.955e-05/1.209, allocations: 313.5 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.688e-06/1.209, allocations: 0 / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/1.209, allocations: 0.5625 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.894e-05/1.209, allocations: 4 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.209, allocations: 0 / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.486e-05/1.209, allocations: 37.59 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/1.209, allocations: 4 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/1.209, allocations: 4.094 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.209, allocations: 4.172 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.091e-05/1.209, allocations: 4.625 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.209, allocations: 0 / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.217e-05/1.209, allocations: 3.906 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/1.209, allocations: 0 / 1.127 GB, free: 32.84 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 (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.166e-05/1.209, allocations: 109.8 kB / 1.127 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/1.209, allocations: 8.891 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.948e-05/1.209, allocations: 40.92 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/1.209, allocations: 4.031 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.209, allocations: 0 / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.209, allocations: 0.5625 kB / 1.127 GB, free: 32.68 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.602e-05/1.21, allocations: 142.2 kB / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.21, allocations: 0 / 1.127 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/1.21, allocations: 7.734 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.21, allocations: 0 / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/1.21, allocations: 3.953 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/1.21, allocations: 0.9375 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.21, allocations: 0.5625 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.408e-05/1.21, allocations: 61.14 kB / 1.127 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.63e-05/1.21, allocations: 81.38 kB / 1.127 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/1.21, allocations: 0 / 1.127 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.027e-05/1.21, allocations: 8.828 kB / 1.127 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/1.21, allocations: 0 / 1.127 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/1.21, allocations: 3.938 kB / 1.127 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.692e-05/1.21, allocations: 79.28 kB / 1.127 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/1.21, allocations: 4.031 kB / 1.127 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002392/1.21, allocations: 28.59 kB / 1.127 GB, free: 32.19 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 (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.0004307/1.21, allocations: 0.6195 MB / 1.128 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/1.211, allocations: 7.422 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.211, allocations: 0 / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.545e-06/1.211, allocations: 7.938 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001037/1.211, allocations: 5.172 kB / 1.128 GB, free: 31.53 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/1.211, allocations: 120.6 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/1.211, allocations: 0.6777 MB / 1.129 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.425e-05/1.211, allocations: 3.938 kB / 1.129 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/1.211, allocations: 10.91 kB / 1.129 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/1.211, allocations: 0 / 1.129 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01358/1.225, allocations: 0.9295 MB / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001624/1.225, allocations: 179.8 kB / 1.13 GB, free: 29.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.928, allocations: 0 / 1.13 GB, free: 29.93 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)