Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5686/0.5686, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.804/1.804, allocations: 223.1 MB / 354.3 MB, free: 12.16 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001035, allocations: 109.4 kB / 427.4 MB, free: 3.891 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003478/0.0003478, allocations: 12 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1725, allocations: 72.31 MB / 0.5689 GB, free: 1.836 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.548/0.7206, allocations: 101 MB / 0.6676 GB, free: 3.41 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.721, allocations: 71.95 kB / 0.6676 GB, free: 3.34 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003882/0.7248, allocations: 1.284 MB / 0.6689 GB, free: 2.066 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.7249, allocations: 0 / 0.6689 GB, free: 2.066 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.7249, allocations: 0 / 0.6689 GB, free: 2.066 MB / 458.7 MB 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.0003276/0.7252, allocations: 343.3 kB / 0.6692 GB, free: 1.684 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.7253, allocations: 8.031 kB / 0.6692 GB, free: 1.676 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.7253, allocations: 34.5 kB / 0.6692 GB, free: 1.633 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.7254, allocations: 4.578 kB / 0.6693 GB, free: 1.629 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.7255, allocations: 159.1 kB / 0.6694 GB, free: 1.434 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.7255, allocations: 4 kB / 0.6694 GB, free: 1.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.7255, allocations: 3.984 kB / 0.6694 GB, free: 1.426 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.911e-05/0.7256, allocations: 25.7 kB / 0.6694 GB, free: 1.395 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-06/0.7256, allocations: 0 / 0.6694 GB, free: 1.395 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.7256, allocations: 4 kB / 0.6694 GB, free: 1.391 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.7257, allocations: 0 / 0.6694 GB, free: 1.391 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.7257, allocations: 7.953 kB / 0.6694 GB, free: 1.383 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.7258, allocations: 150.5 kB / 0.6696 GB, free: 1.188 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.13e-05/0.7259, allocations: 18.61 kB / 0.6696 GB, free: 1.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.7266, allocations: 453.5 kB / 0.67 GB, free: 0.625 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.7266, allocations: 34.56 kB / 0.6701 GB, free: 0.582 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.7266, allocations: 3.938 kB / 0.6701 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001298/0.7268, allocations: 29.7 kB / 0.6701 GB, free: 0.543 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.7268, allocations: 55.34 kB / 0.6702 GB, free: 488 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.337e-05/0.7269, allocations: 85 kB / 0.6702 GB, free: 396 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7269, allocations: 25.83 kB / 0.6703 GB, free: 364 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.7269, allocations: 84.14 kB / 0.6703 GB, free: 276 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.462e-05/0.727, allocations: 3.906 kB / 0.6703 GB, free: 272 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.804e-06/0.727, allocations: 0 / 0.6703 GB, free: 272 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7271, allocations: 326.8 kB / 0.6707 GB, free: 15.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.7271, allocations: 0 / 0.6707 GB, free: 15.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-06/0.7271, allocations: 3.938 kB / 0.6707 GB, free: 15.93 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.509e-05/0.7272, allocations: 0 / 0.6707 GB, free: 15.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.7272, allocations: 0 / 0.6707 GB, free: 15.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.98e-05/0.7272, allocations: 37.77 kB / 0.6707 GB, free: 15.89 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7272, allocations: 4 kB / 0.6707 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.7272, allocations: 0 / 0.6707 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.7273, allocations: 0 / 0.6707 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.7273, allocations: 4 kB / 0.6707 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.7273, allocations: 7.922 kB / 0.6707 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.249e-05/0.7274, allocations: 2.312 kB / 0.6707 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.7274, allocations: 0 / 0.6707 GB, free: 15.88 MB / 474.7 MB 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 0.0001235/0.7275, allocations: 109.8 kB / 0.6708 GB, free: 15.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.313e-06/0.7275, allocations: 8.031 kB / 0.6708 GB, free: 15.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.291e-05/0.7276, allocations: 36.83 kB / 0.6709 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.7276, allocations: 0 / 0.6709 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.7276, allocations: 3.984 kB / 0.6709 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.7276, allocations: 0 / 0.6709 GB, free: 15.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.7277, allocations: 149.6 kB / 0.671 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7277, allocations: 0 / 0.671 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.744e-05/0.7278, allocations: 4 kB / 0.671 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7278, allocations: 0 / 0.671 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.7278, allocations: 0 / 0.671 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7278, allocations: 4.031 kB / 0.671 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7278, allocations: 0 / 0.671 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.561e-05/0.7279, allocations: 69.02 kB / 0.6711 GB, free: 15.42 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.7279, allocations: 77.11 kB / 0.6712 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.728, allocations: 0.5 kB / 0.6712 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.843e-06/0.728, allocations: 0 / 0.6712 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-06/0.728, allocations: 0 / 0.6712 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.728, allocations: 7.969 kB / 0.6712 GB, free: 15.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.244e-05/0.728, allocations: 75.28 kB / 0.6712 GB, free: 15.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.728, allocations: 0 / 0.6712 GB, free: 15.25 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.7283, allocations: 39.86 kB / 0.6713 GB, free: 15.21 MB / 474.7 MB 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.0005277/0.7288, allocations: 0.6318 MB / 0.6719 GB, free: 14.55 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.161e-05/0.7289, allocations: 4 kB / 0.6719 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7289, allocations: 0 / 0.6719 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.19e-06/0.7289, allocations: 0 / 0.6719 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.687e-05/0.729, allocations: 0 / 0.6719 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.7293, allocations: 121 kB / 0.672 GB, free: 14.38 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002502/0.7296, allocations: 0.6731 MB / 0.6727 GB, free: 13.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 1.299e-05/0.7296, allocations: 0 / 0.6727 GB, free: 13.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.818e-05/0.7296, allocations: 11.44 kB / 0.6727 GB, free: 13.67 MB / 474.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7296, allocations: 0 / 0.6727 GB, free: 13.67 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01186/0.7415, allocations: 0.9332 MB / 0.6736 GB, free: 12.86 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002216/0.7418, allocations: 176.1 kB / 0.6738 GB, free: 12.62 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/2.396, allocations: 0 / 0.6738 GB, free: 12.62 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)