Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.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.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0",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.001507/0.001507, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5188/0.5188, allocations: 90.92 MB / 99.35 MB, free: 2.223 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.69/1.69, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 90.61 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.133e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1713, allocations: 72.32 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5574/0.7288, allocations: 101 MB / 0.6522 GB, free: 9.008 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.729, allocations: 75.81 kB / 0.6523 GB, free: 8.965 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004468/0.7335, allocations: 1.526 MB / 0.6538 GB, free: 7.652 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.7336, allocations: 4 kB / 0.6538 GB, free: 7.648 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.7336, allocations: 4 kB / 0.6538 GB, free: 7.645 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004105/0.734, allocations: 354.7 kB / 0.6541 GB, free: 7.258 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.734, allocations: 8.031 kB / 0.6541 GB, free: 7.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.7341, allocations: 7.953 kB / 0.6541 GB, free: 7.242 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.7342, allocations: 165.1 kB / 0.6543 GB, free: 7.043 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.7343, allocations: 3.938 kB / 0.6543 GB, free: 7.039 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.7343, allocations: 4 kB / 0.6543 GB, free: 7.035 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.61e-05/0.7344, allocations: 15.11 kB / 0.6543 GB, free: 7.023 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.797e-05/0.7344, allocations: 32.95 kB / 0.6543 GB, free: 6.988 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.7345, allocations: 0 / 0.6543 GB, free: 6.988 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.7345, allocations: 0 / 0.6543 GB, free: 6.988 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.7345, allocations: 3.953 kB / 0.6543 GB, free: 6.984 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.7349, allocations: 243.5 kB / 0.6546 GB, free: 6.715 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.649e-05/0.735, allocations: 29.52 kB / 0.6546 GB, free: 6.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.735, allocations: 7.734 kB / 0.6546 GB, free: 6.672 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.7356, allocations: 444.8 kB / 0.655 GB, free: 6.148 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.7356, allocations: 38.56 kB / 0.6551 GB, free: 6.102 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.7356, allocations: 0 / 0.6551 GB, free: 6.102 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001969/0.7358, allocations: 40.67 kB / 0.6551 GB, free: 6.059 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.7359, allocations: 55.36 kB / 0.6552 GB, free: 5.992 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.7359, allocations: 96.61 kB / 0.6553 GB, free: 5.895 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.736, allocations: 25.7 kB / 0.6553 GB, free: 5.863 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.736, allocations: 84.08 kB / 0.6554 GB, free: 5.777 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.149e-05/0.736, allocations: 14.94 kB / 0.6554 GB, free: 5.766 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.7361, allocations: 0 / 0.6554 GB, free: 5.766 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.7362, allocations: 310.8 kB / 0.6557 GB, free: 5.453 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.7362, allocations: 7 kB / 0.6557 GB, free: 5.449 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.7362, allocations: 3.938 kB / 0.6557 GB, free: 5.445 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.7363, allocations: 10.73 kB / 0.6557 GB, free: 5.438 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7363, allocations: 0 / 0.6557 GB, free: 5.438 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.411e-05/0.7364, allocations: 36.7 kB / 0.6557 GB, free: 5.398 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7364, allocations: 8.094 kB / 0.6557 GB, free: 5.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.7364, allocations: 4 kB / 0.6557 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.7364, allocations: 0 / 0.6557 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.786e-05/0.7365, allocations: 12.83 kB / 0.6558 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.7366, allocations: 0 / 0.6558 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.7366, allocations: 15.94 kB / 0.6558 GB, free: 5.359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.7366, allocations: 3.938 kB / 0.6558 GB, free: 5.355 MB / 458.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 (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 7.605e-05/0.7367, allocations: 105 kB / 0.6559 GB, free: 5.246 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.484e-05/0.7368, allocations: 47.52 kB / 0.6559 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.7368, allocations: 0 / 0.6559 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.737, allocations: 47.94 kB / 0.656 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.737, allocations: 0 / 0.656 GB, free: 5.156 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.737, allocations: 7.891 kB / 0.656 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.737, allocations: 0 / 0.656 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.7371, allocations: 137.5 kB / 0.6561 GB, free: 4.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7372, allocations: 4 kB / 0.6561 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.661e-05/0.7372, allocations: 12.06 kB / 0.6561 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.7372, allocations: 0 / 0.6561 GB, free: 4.965 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.7373, allocations: 3.984 kB / 0.6561 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.7373, allocations: 0.5469 kB / 0.6561 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7373, allocations: 0 / 0.6561 GB, free: 4.961 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.7374, allocations: 142.5 kB / 0.6563 GB, free: 4.809 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.7375, allocations: 77.11 kB / 0.6563 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.7375, allocations: 8.016 kB / 0.6563 GB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.13e-05/0.7376, allocations: 8 kB / 0.6563 GB, free: 4.699 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/0.7376, allocations: 7.172 kB / 0.6564 GB, free: 4.695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.7376, allocations: 0 / 0.6564 GB, free: 4.695 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.029e-05/0.7377, allocations: 79.28 kB / 0.6564 GB, free: 4.617 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7377, allocations: 0 / 0.6564 GB, free: 4.617 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002534/0.7379, allocations: 27.94 kB / 0.6565 GB, free: 4.59 MB / 458.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 (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.0005718/0.7385, allocations: 0.695 MB / 0.6571 GB, free: 3.871 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.521e-05/0.7386, allocations: 13.94 kB / 0.6571 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7386, allocations: 4.094 kB / 0.6571 GB, free: 3.859 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.804e-05/0.7386, allocations: 8 kB / 0.6572 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.7388, allocations: 3.562 kB / 0.6572 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.7392, allocations: 97.53 kB / 0.6573 GB, free: 3.719 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002611/0.7395, allocations: 0.6768 MB / 0.6579 GB, free: 3.016 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.7395, allocations: 5.922 kB / 0.6579 GB, free: 3.012 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.7395, allocations: 10.38 kB / 0.6579 GB, free: 3.004 MB / 458.7 MB Notification: Performance of SimCode: time 1.372e-06/0.7396, allocations: 8.062 kB / 0.6579 GB, free: 2.996 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.7608, allocations: 0.9128 MB / 0.6588 GB, free: 2.094 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002098/0.7611, allocations: 125.4 kB / 0.6589 GB, free: 1.898 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/2.28, allocations: 0 / 0.6589 GB, free: 1.898 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)