Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",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.476/1.476, allocations: 249.3 MB / 261.8 MB, free: 5.953 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.001112/0.001113, allocations: 180.9 kB / 321.3 MB, free: 14.66 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.618/1.618, allocations: 205.2 MB / 0.572 GB, free: 10.68 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.0008441/0.0008445, allocations: 87.41 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.863e-05, allocations: 7.984 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2081, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6887/0.8968, allocations: 131.1 MB / 1.02 GB, free: 3.695 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.8971, allocations: 81.17 kB / 1.02 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003402/0.9006, allocations: 1.226 MB / 1.021 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9006, allocations: 0 / 1.021 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.9006, allocations: 0 / 1.021 GB, free: 2.574 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.0002568/0.9009, allocations: 333.9 kB / 1.021 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.9009, allocations: 11.97 kB / 1.021 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.901, allocations: 30.56 kB / 1.021 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.901, allocations: 4 kB / 1.022 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.9011, allocations: 167 kB / 1.022 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.9011, allocations: 3.984 kB / 1.022 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.548e-06/0.9011, allocations: 4 kB / 1.022 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.151e-05/0.9012, allocations: 25.7 kB / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.9013, allocations: 0 / 1.022 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.9013, allocations: 4 kB / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9013, allocations: 0 / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.145e-05/0.9013, allocations: 0 / 1.022 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.9015, allocations: 148.9 kB / 1.022 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.232e-05/0.9015, allocations: 22.55 kB / 1.022 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.9016, allocations: 8.859 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005738/0.9021, allocations: 441.1 kB / 1.022 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.9022, allocations: 37.22 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.9022, allocations: 0 / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001148/0.9023, allocations: 41.19 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.9024, allocations: 59.34 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.79e-05/0.9024, allocations: 85 kB / 1.023 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.9024, allocations: 25.7 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.236e-05/0.9025, allocations: 84.12 kB / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.9025, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/0.9025, allocations: 0 / 1.023 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.9026, allocations: 310.8 kB / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.214e-06/0.9027, allocations: 0 / 1.023 GB, free: 492 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.9027, allocations: 8.031 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.897e-05/0.9027, allocations: 3.75 kB / 1.023 GB, free: 484 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.9027, allocations: 3.953 kB / 1.023 GB, free: 480 kB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.685e-05/0.9028, allocations: 33.69 kB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.9028, allocations: 8 kB / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.9028, allocations: 0 / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.9028, allocations: 0 / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.256e-05/0.9029, allocations: 0 / 1.023 GB, free: 432 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.9029, allocations: 11.88 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-06/0.9029, allocations: 4.094 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.9029, allocations: 0 / 1.023 GB, free: 416 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.604e-05/0.903, allocations: 101 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.655e-06/0.903, allocations: 3.953 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.067e-05/0.9031, allocations: 40.77 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9031, allocations: 0 / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9031, allocations: 4 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9031, allocations: 3.938 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.379e-05/0.9032, allocations: 149.2 kB / 1.023 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.9032, allocations: 3.984 kB / 1.023 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.246e-05/0.9032, allocations: 3.953 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.9032, allocations: 4 kB / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.9032, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9032, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9033, allocations: 0 / 1.023 GB, free: 40 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.698e-05/0.9033, allocations: 56.5 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.9034, allocations: 89.03 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.9034, allocations: 7.781 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.663e-06/0.9034, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.9034, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-06/0.9034, allocations: 0 / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.016e-05/0.9035, allocations: 75.28 kB / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9035, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002057/0.9037, allocations: 23.94 kB / 1.024 GB, free: 15.76 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.0004969/0.9042, allocations: 0.6275 MB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 5.787e-05/0.9043, allocations: 11.72 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.9043, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-06/0.9043, allocations: 4 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.281e-05/0.9044, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.9047, allocations: 94.95 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.9049, allocations: 0.677 MB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.211e-05/0.9049, allocations: 1.5 kB / 1.025 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.9049, allocations: 7.438 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/0.9049, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.9185, allocations: 0.954 MB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/0.9189, allocations: 164.2 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/2.37, allocations: 0 / 1.026 GB, free: 13.2 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)