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.0009665/0.0009665, allocations: 180 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.468/0.468, allocations: 90.81 MB / 104.5 MB, free: 9.785 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.235/1.235, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008664/0.0008663, allocations: 99.67 kB / 421.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.996e-05/2.998e-05, allocations: 4 kB / 0.4897 GB, free: 5.242 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 72.29 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.4191, allocations: 100.9 MB / 0.6589 GB, free: 3.375 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.4193, allocations: 79.94 kB / 0.6589 GB, free: 3.297 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003296/0.4226, allocations: 1.286 MB / 0.6602 GB, free: 2.023 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4226, allocations: 0 / 0.6602 GB, free: 2.023 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.4226, allocations: 0 / 0.6602 GB, free: 2.023 MB / 474.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.0002132/0.4229, allocations: 326.4 kB / 0.6605 GB, free: 1.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4229, allocations: 12.55 kB / 0.6605 GB, free: 1.648 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.4229, allocations: 34.56 kB / 0.6606 GB, free: 1.605 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.727e-05/0.423, allocations: 3.953 kB / 0.6606 GB, free: 1.602 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.423, allocations: 163.1 kB / 0.6607 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.4231, allocations: 0 / 0.6607 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-06/0.4231, allocations: 0 / 0.6607 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.475e-05/0.4231, allocations: 34.81 kB / 0.6608 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.4232, allocations: 0 / 0.6608 GB, free: 1.363 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-06/0.4232, allocations: 3.938 kB / 0.6608 GB, free: 1.359 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.4232, allocations: 4 kB / 0.6608 GB, free: 1.355 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.4232, allocations: 3.953 kB / 0.6608 GB, free: 1.352 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.4233, allocations: 145.7 kB / 0.6609 GB, free: 1.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.861e-05/0.4233, allocations: 18.61 kB / 0.6609 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.291e-05/0.4234, allocations: 4.859 kB / 0.6609 GB, free: 1.125 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005419/0.4239, allocations: 453.5 kB / 0.6614 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.4239, allocations: 30.56 kB / 0.6614 GB, free: 0.5508 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 2.204e-06/0.424, allocations: 3.984 kB / 0.6614 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 9.013e-05/0.424, allocations: 37.64 kB / 0.6614 GB, free: 0.5039 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.4241, allocations: 52.44 kB / 0.6615 GB, free: 452 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.062e-05/0.4241, allocations: 85 kB / 0.6616 GB, free: 360 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.008e-05/0.4241, allocations: 25.7 kB / 0.6616 GB, free: 328 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.051e-05/0.4242, allocations: 84.17 kB / 0.6617 GB, free: 240 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.4242, allocations: 7.906 kB / 0.6617 GB, free: 232 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-06/0.4242, allocations: 0 / 0.6617 GB, free: 232 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.4243, allocations: 314.8 kB / 0.662 GB, free: 15.91 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-06/0.4243, allocations: 0 / 0.662 GB, free: 15.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.178e-06/0.4243, allocations: 0 / 0.662 GB, free: 15.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.57e-05/0.4243, allocations: 7.984 kB / 0.662 GB, free: 15.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4243, allocations: 0 / 0.662 GB, free: 15.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.741e-05/0.4244, allocations: 38.64 kB / 0.662 GB, free: 15.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4244, allocations: 8.031 kB / 0.662 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4244, allocations: 0 / 0.662 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4245, allocations: 4 kB / 0.662 GB, free: 15.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.533e-05/0.4245, allocations: 3.938 kB / 0.662 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.4245, allocations: 0 / 0.662 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.4245, allocations: 2.188 kB / 0.662 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.4245, allocations: 2.656 kB / 0.662 GB, free: 15.84 MB / 490.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 () * 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 5.368e-05/0.4246, allocations: 108.9 kB / 0.6621 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.4246, allocations: 3.984 kB / 0.6621 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.896e-05/0.4247, allocations: 39.36 kB / 0.6622 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4247, allocations: 3.938 kB / 0.6622 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4247, allocations: 0 / 0.6622 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.4247, allocations: 0 / 0.6622 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.749e-05/0.4248, allocations: 157.6 kB / 0.6623 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4248, allocations: 0 / 0.6623 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.4248, allocations: 4 kB / 0.6623 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4248, allocations: 0 / 0.6623 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-06/0.4248, allocations: 0 / 0.6623 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4249, allocations: 0 / 0.6623 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4249, allocations: 8.031 kB / 0.6623 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.415e-05/0.4249, allocations: 61.08 kB / 0.6624 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.425, allocations: 77.11 kB / 0.6625 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-06/0.425, allocations: 0 / 0.6625 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-06/0.425, allocations: 0 / 0.6625 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-06/0.425, allocations: 4 kB / 0.6625 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/0.425, allocations: 0 / 0.6625 GB, free: 15.29 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.132e-05/0.425, allocations: 79.31 kB / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.332e-06/0.425, allocations: 0 / 0.6626 GB, free: 15.21 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002015/0.4252, allocations: 31.88 kB / 0.6626 GB, free: 15.18 MB / 490.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 () * 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.0003927/0.4256, allocations: 0.6241 MB / 0.6632 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 4.671e-05/0.4257, allocations: 4 kB / 0.6632 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4257, allocations: 0 / 0.6632 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.528e-06/0.4257, allocations: 7.938 kB / 0.6632 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.322e-05/0.4258, allocations: 0.7812 kB / 0.6632 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002157/0.426, allocations: 98.7 kB / 0.6633 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.4262, allocations: 0.678 MB / 0.664 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.002e-05/0.4263, allocations: 0 / 0.664 GB, free: 13.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.242e-05/0.4263, allocations: 7.438 kB / 0.664 GB, free: 13.67 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4263, allocations: 0 / 0.664 GB, free: 13.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0103/0.4366, allocations: 0.9297 MB / 0.6649 GB, free: 12.89 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001796/0.4368, allocations: 152.4 kB / 0.665 GB, free: 12.66 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.27/1.706, allocations: 2.938 kB / 0.665 GB, free: 12.66 MB / 490.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)