Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 249.5 MB / 257 MB, free: 6.988 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.0009314/0.0009314, allocations: 169 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008176/0.0008177, allocations: 96.39 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.716e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2558, allocations: 106.4 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8436/1.099, allocations: 131.4 MB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.1, allocations: 74.52 kB / 1.014 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003467/1.103, allocations: 1.273 MB / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.664e-06/1.103, allocations: 0 / 1.015 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.842e-06/1.103, allocations: 4 kB / 1.015 GB, free: 5.223 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.0002781/1.104, allocations: 330.8 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.104, allocations: 12.03 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/1.104, allocations: 0 / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/1.104, allocations: 167 kB / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.345e-05/1.104, allocations: 0 / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/1.104, allocations: 0 / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.492e-05/1.104, allocations: 0 / 1.015 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.712e-05/1.104, allocations: 33.69 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.104, allocations: 3.938 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/1.104, allocations: 0 / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.104, allocations: 0 / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/1.104, allocations: 126.2 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/1.104, allocations: 30.53 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.734e-05/1.104, allocations: 8.359 kB / 1.016 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006143/1.105, allocations: 441.5 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/1.105, allocations: 34.56 kB / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.105, allocations: 0 / 1.016 GB, free: 3.828 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001585/1.105, allocations: 37 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/1.105, allocations: 51.41 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.171e-05/1.105, allocations: 85 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/1.105, allocations: 25.7 kB / 1.016 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.568e-05/1.105, allocations: 80.14 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/1.105, allocations: 4 kB / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/1.105, allocations: 0 / 1.016 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.105, allocations: 317.5 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/1.105, allocations: 3.938 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.208e-06/1.105, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.835e-05/1.105, allocations: 4 kB / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.105, allocations: 0 / 1.017 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.963e-05/1.106, allocations: 39.89 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/1.106, allocations: 7.938 kB / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/1.106, allocations: 0 / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/1.106, allocations: 96 / 1.017 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.331e-05/1.106, allocations: 8 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/1.106, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-06/1.106, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/1.106, allocations: 0 / 1.017 GB, free: 3.137 MB / 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.798e-05/1.106, allocations: 101 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.414e-05/1.106, allocations: 45.58 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-06/1.106, allocations: 0 / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.47e-05/1.106, allocations: 41.66 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/1.106, allocations: 4.062 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/1.106, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/1.106, allocations: 0 / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.879e-05/1.106, allocations: 130.1 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.106, allocations: 3.5 kB / 1.017 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.216e-05/1.106, allocations: 4 kB / 1.017 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/1.106, allocations: 3.953 kB / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/1.106, allocations: 0 / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/1.106, allocations: 0 / 1.017 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/1.106, allocations: 3.938 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.144e-05/1.106, allocations: 68.69 kB / 1.017 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/1.106, allocations: 77.11 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/1.106, allocations: 3.953 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.272e-06/1.106, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/1.106, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/1.106, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.45e-05/1.106, allocations: 79.28 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.106, allocations: 0 / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002001/1.107, allocations: 23.97 kB / 1.017 GB, free: 2.473 MB / 0.6355 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.0004988/1.107, allocations: 0.6237 MB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.519e-05/1.107, allocations: 4 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.107, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.442e-06/1.107, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.628e-05/1.107, allocations: 11.89 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/1.107, allocations: 88.84 kB / 1.018 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/1.108, allocations: 0.6729 MB / 1.019 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.319e-05/1.108, allocations: 8.125 kB / 1.019 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/1.108, allocations: 7.438 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/1.108, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/1.125, allocations: 0.6529 MB / 1.019 GB, free: 336 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002031/1.126, allocations: 160.5 kB / 1.019 GB, free: 136 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.426/2.552, allocations: 0 / 1.019 GB, free: 136 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)