Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.432/1.432, allocations: 249.5 MB / 257 MB, free: 6.945 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.001182/0.001182, allocations: 166.1 kB / 316.3 MB, free: 3.316 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.741/1.741, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0008812/0.0008812, allocations: 94.09 kB / 0.6714 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.084e-05/2.086e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2053, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6114/0.8167, allocations: 132.1 MB / 1.014 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.817, allocations: 70.89 kB / 1.014 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00447/0.8215, allocations: 1.539 MB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8215, allocations: 3.938 kB / 1.016 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8215, allocations: 7.938 kB / 1.016 GB, free: 4 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004085/0.8219, allocations: 359.1 kB / 1.016 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.822, allocations: 8.031 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.822, allocations: 0 / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.8222, allocations: 171 kB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.8222, allocations: 1.688 kB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-06/0.8222, allocations: 3.984 kB / 1.016 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.357e-05/0.8223, allocations: 15.88 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.184e-05/0.8224, allocations: 33.69 kB / 1.016 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.8224, allocations: 3.938 kB / 1.016 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.8224, allocations: 3.938 kB / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.8224, allocations: 0 / 1.016 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.8228, allocations: 247.5 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.176e-05/0.8229, allocations: 29.98 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.8229, allocations: 8.922 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005762/0.8235, allocations: 444.7 kB / 1.017 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.8235, allocations: 34.56 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.8235, allocations: 0 / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.8237, allocations: 44.27 kB / 1.017 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.8238, allocations: 62.05 kB / 1.017 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.641e-05/0.8238, allocations: 89 kB / 1.017 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.8239, allocations: 25.7 kB / 1.017 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.8239, allocations: 83.7 kB / 1.017 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/0.8239, allocations: 3.906 kB / 1.017 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.824, allocations: 4.031 kB / 1.017 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.8241, allocations: 318.8 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.4e-05/0.8241, allocations: 3.938 kB / 1.018 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.8241, allocations: 7.984 kB / 1.018 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.8242, allocations: 7.562 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8242, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.625e-05/0.8242, allocations: 33.7 kB / 1.018 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.8243, allocations: 4 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8243, allocations: 12.03 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.8243, allocations: 0 / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.8244, allocations: 15.92 kB / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.8244, allocations: 0 / 1.018 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.8245, allocations: 11.98 kB / 1.018 GB, free: 1.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.8245, allocations: 4 kB / 1.018 GB, free: 1.707 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 (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 6.79e-05/0.8246, allocations: 104.9 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.895e-05/0.8246, allocations: 40.89 kB / 1.018 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.202e-05/0.8247, allocations: 7.906 kB / 1.018 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.8248, allocations: 52.39 kB / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8248, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.8248, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8248, allocations: 0 / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.825, allocations: 141.9 kB / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.825, allocations: 0 / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.168e-05/0.825, allocations: 12.05 kB / 1.018 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.825, allocations: 4 kB / 1.018 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.8251, allocations: 8 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8251, allocations: 0 / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8251, allocations: 3.938 kB / 1.018 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.8252, allocations: 133.6 kB / 1.018 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.8253, allocations: 85.09 kB / 1.018 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.8253, allocations: 0 / 1.018 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.382e-05/0.8254, allocations: 8.031 kB / 1.018 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.344e-05/0.8254, allocations: 7.984 kB / 1.018 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.8254, allocations: 3.312 kB / 1.018 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.8255, allocations: 83.45 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.475e-06/0.8255, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002382/0.8257, allocations: 27.88 kB / 1.019 GB, free: 0.9219 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 (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.000526/0.8263, allocations: 0.7105 MB / 1.019 GB, free: 196 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.271e-05/0.8263, allocations: 14.69 kB / 1.019 GB, free: 188 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.8263, allocations: 4.094 kB / 1.019 GB, free: 184 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.8264, allocations: 7.938 kB / 1.019 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.8265, allocations: 0 / 1.019 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.8269, allocations: 104.7 kB / 1.019 GB, free: 36 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.8271, allocations: 0.6768 MB / 1.02 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.388e-05/0.8272, allocations: 4 kB / 1.02 GB, free: 15.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.8272, allocations: 10.75 kB / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/0.8272, allocations: 4.062 kB / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.8448, allocations: 0.9158 MB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.8451, allocations: 145.4 kB / 1.021 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.353/2.198, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)