Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.001362/0.001362, 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.6471/0.6471, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.541/1.541, allocations: 223.1 MB / 354.3 MB, free: 12.22 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.001158/0.001157, allocations: 103.7 kB / 427.4 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003451, allocations: 16 kB / 0.4983 GB, free: 42.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1973, allocations: 72.3 MB / 0.5689 GB, free: 1.855 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5273/0.7247, allocations: 101.7 MB / 0.6683 GB, free: 2.711 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.7251, allocations: 79.94 kB / 0.6683 GB, free: 2.633 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004815/0.7299, allocations: 1.579 MB / 0.6699 GB, free: 1.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.7299, allocations: 0 / 0.6699 GB, free: 1.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.7299, allocations: 4 kB / 0.6699 GB, free: 1.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004878/0.7304, allocations: 367.8 kB / 0.6702 GB, free: 0.6602 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.7305, allocations: 8.031 kB / 0.6702 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.913e-05/0.7306, allocations: 38.56 kB / 0.6703 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.7306, allocations: 3.953 kB / 0.6703 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.7307, allocations: 163 kB / 0.6704 GB, free: 412 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.7307, allocations: 4 kB / 0.6704 GB, free: 408 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.7307, allocations: 0 / 0.6704 GB, free: 408 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.731, allocations: 61.61 kB / 0.6705 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.731, allocations: 0 / 0.6705 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.731, allocations: 3.984 kB / 0.6705 GB, free: 336 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.731, allocations: 0 / 0.6705 GB, free: 336 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.7312, allocations: 51.91 kB / 0.6705 GB, free: 284 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.7317, allocations: 268.8 kB / 0.6708 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.7318, allocations: 46.56 kB / 0.6708 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.7325, allocations: 445.5 kB / 0.6713 GB, free: 15.38 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.7325, allocations: 38.5 kB / 0.6713 GB, free: 15.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.7325, allocations: 4 kB / 0.6713 GB, free: 15.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003684/0.7329, allocations: 97.59 kB / 0.6714 GB, free: 15.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.7329, allocations: 55.53 kB / 0.6715 GB, free: 15.17 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.842e-05/0.733, allocations: 92.98 kB / 0.6715 GB, free: 15.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.733, allocations: 25.7 kB / 0.6716 GB, free: 15.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.7331, allocations: 88.14 kB / 0.6717 GB, free: 14.95 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.7331, allocations: 3.906 kB / 0.6717 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/0.7332, allocations: 7.875 kB / 0.6717 GB, free: 14.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.7333, allocations: 310.8 kB / 0.672 GB, free: 14.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.28e-05/0.7334, allocations: 31.97 kB / 0.672 GB, free: 14.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.911e-05/0.7335, allocations: 15.98 kB / 0.672 GB, free: 14.58 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.7336, allocations: 23.98 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.7336, allocations: 3.938 kB / 0.672 GB, free: 14.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002007/0.7338, allocations: 77.72 kB / 0.6721 GB, free: 14.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.7338, allocations: 4 kB / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.7338, allocations: 0 / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.7338, allocations: 0 / 0.6721 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.7339, allocations: 20.02 kB / 0.6721 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.734, allocations: 3.953 kB / 0.6721 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.734, allocations: 4 kB / 0.6721 GB, free: 14.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.734, allocations: 0 / 0.6721 GB, free: 14.44 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 (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 8.29e-05/0.7341, allocations: 121.8 kB / 0.6723 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.7341, allocations: 0 / 0.6723 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.7344, allocations: 80.78 kB / 0.6723 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.7344, allocations: 0 / 0.6723 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7344, allocations: 0 / 0.6723 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.7344, allocations: 3.953 kB / 0.6723 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.7346, allocations: 157.6 kB / 0.6725 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7346, allocations: 0 / 0.6725 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.452e-05/0.7347, allocations: 24.02 kB / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.7347, allocations: 0 / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.7347, allocations: 0 / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.7347, allocations: 0 / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.7347, allocations: 0 / 0.6725 GB, free: 14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.735, allocations: 175.4 kB / 0.6727 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.735, allocations: 81.11 kB / 0.6728 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.735, allocations: 3.984 kB / 0.6728 GB, free: 13.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.7351, allocations: 8 kB / 0.6728 GB, free: 13.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.7352, allocations: 7.984 kB / 0.6728 GB, free: 13.69 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.7352, allocations: 0 / 0.6728 GB, free: 13.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.315e-05/0.7352, allocations: 83.31 kB / 0.6729 GB, free: 13.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7352, allocations: 0 / 0.6729 GB, free: 13.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.7355, allocations: 23.94 kB / 0.6729 GB, free: 13.59 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 (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.0007061/0.7362, allocations: 0.7396 MB / 0.6736 GB, free: 12.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/0.7364, allocations: 55.98 kB / 0.6737 GB, free: 12.77 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7364, allocations: 0 / 0.6737 GB, free: 12.77 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.582e-05/0.7365, allocations: 19.98 kB / 0.6737 GB, free: 12.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.7367, allocations: 8.062 kB / 0.6737 GB, free: 12.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.7372, allocations: 146.8 kB / 0.6738 GB, free: 12.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.7375, allocations: 0.6813 MB / 0.6745 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.72e-05/0.7375, allocations: 4 kB / 0.6745 GB, free: 11.84 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.7376, allocations: 15.38 kB / 0.6745 GB, free: 11.82 MB / 474.7 MB Notification: Performance of SimCode: time 4.1e-07/0.7376, allocations: 0 / 0.6745 GB, free: 11.82 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01224/0.7498, allocations: 1.218 MB / 0.6757 GB, free: 10.71 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/0.75, allocations: 166 kB / 0.6759 GB, free: 10.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.421, allocations: 0 / 0.6759 GB, free: 10.47 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)