Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.692/1.692, allocations: 285.4 MB / 298 MB, free: 5.988 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.001069/0.001069, allocations: 172.8 kB / 366.4 MB, free: 2.09 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.517/1.517, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0007643/0.0007644, allocations: 90.55 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.611e-05, allocations: 8 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6505/0.6505, allocations: 115.3 MB / 0.971 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1905/0.8411, allocations: 137.4 MB / 1.105 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.8414, allocations: 77.19 kB / 1.105 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003829/0.8453, allocations: 1.273 MB / 1.106 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8453, allocations: 2.953 kB / 1.106 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8453, allocations: 0 / 1.106 GB, free: 13.06 MB / 0.7136 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.000393/0.8457, allocations: 330.4 kB / 1.107 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.8458, allocations: 8.031 kB / 1.107 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.07e-05/0.8459, allocations: 30.56 kB / 1.107 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.8459, allocations: 5.156 kB / 1.107 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.846, allocations: 167 kB / 1.107 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.846, allocations: 2.281 kB / 1.107 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.846, allocations: 0 / 1.107 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.8462, allocations: 26.92 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.8462, allocations: 0 / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.8462, allocations: 4 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8462, allocations: 0 / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.087e-05/0.8463, allocations: 9.062 kB / 1.107 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.8464, allocations: 149.6 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.284e-05/0.8465, allocations: 20.3 kB / 1.107 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.624e-05/0.8465, allocations: 4.859 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000657/0.8472, allocations: 448.6 kB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.8472, allocations: 33.28 kB / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.8472, allocations: 0 / 1.108 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001376/0.8474, allocations: 34.8 kB / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.8474, allocations: 59.39 kB / 1.108 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.279e-05/0.8475, allocations: 88.81 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.8475, allocations: 25.7 kB / 1.108 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/0.8475, allocations: 88.61 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.8476, allocations: 4.594 kB / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.8476, allocations: 0 / 1.108 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8477, allocations: 313.3 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-06/0.8477, allocations: 0 / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.8477, allocations: 4 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.636e-05/0.8478, allocations: 0 / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8478, allocations: 1.219 kB / 1.108 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.122e-05/0.8478, allocations: 37.59 kB / 1.108 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.8479, allocations: 8 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8479, allocations: 0.7188 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.8479, allocations: 7.672 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.407e-05/0.848, allocations: 0 / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.848, allocations: 0 / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.388e-06/0.848, allocations: 0 / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.848, allocations: 5.625 kB / 1.108 GB, free: 10.9 MB / 0.7136 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.682e-05/0.8481, allocations: 105.8 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.746e-06/0.8481, allocations: 3.953 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.123e-05/0.8482, allocations: 36.81 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.8482, allocations: 3 kB / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.8482, allocations: 0 / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.8482, allocations: 0 / 1.108 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.185e-05/0.8483, allocations: 145.7 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.8483, allocations: 0 / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.448e-05/0.8483, allocations: 3.938 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8483, allocations: 3.953 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.8483, allocations: 2.375 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8484, allocations: 4.156 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8484, allocations: 4 kB / 1.109 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.958e-05/0.8485, allocations: 58.81 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.8485, allocations: 77.11 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.8485, allocations: 3.953 kB / 1.109 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.338e-06/0.8485, allocations: 4 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.8486, allocations: 3.984 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.8486, allocations: 3.984 kB / 1.109 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.8486, allocations: 79.31 kB / 1.109 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8486, allocations: 3.938 kB / 1.109 GB, free: 10.27 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002177/0.8488, allocations: 27.94 kB / 1.109 GB, free: 10.25 MB / 0.7136 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.000518/0.8494, allocations: 0.6319 MB / 1.109 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.536e-05/0.8494, allocations: 0 / 1.109 GB, free: 9.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8494, allocations: 4 kB / 1.109 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.294e-06/0.8494, allocations: 3.938 kB / 1.109 GB, free: 9.574 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.333e-05/0.8495, allocations: 7.016 kB / 1.109 GB, free: 9.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.8498, allocations: 98.7 kB / 1.11 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.8501, allocations: 0.6692 MB / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.195e-05/0.8501, allocations: 0 / 1.11 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.8501, allocations: 14.81 kB / 1.11 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8501, allocations: 0 / 1.11 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01158/0.8617, allocations: 0.935 MB / 1.111 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.862, allocations: 170.9 kB / 1.111 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.46/2.322, allocations: 0 / 1.111 GB, free: 7.75 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)