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.001258/0.001258, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5159/0.5159, allocations: 90.91 MB / 99.34 MB, free: 2.191 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.572/1.572, allocations: 221.5 MB / 343.2 MB, free: 1.523 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.000887/0.000887, allocations: 107.2 kB / 415.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.569e-05/4.561e-05, allocations: 11.44 kB / 494.6 MB, free: 52.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1576, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5168/0.6745, allocations: 100.3 MB / 0.6515 GB, free: 9.699 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.6748, allocations: 76.77 kB / 0.6516 GB, free: 9.656 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003691/0.6785, allocations: 1.266 MB / 0.6528 GB, free: 8.574 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.808e-06/0.6786, allocations: 0 / 0.6528 GB, free: 8.574 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.6786, allocations: 3.938 kB / 0.6529 GB, free: 8.57 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.000281/0.6789, allocations: 336.8 kB / 0.6532 GB, free: 8.199 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.6789, allocations: 12.78 kB / 0.6532 GB, free: 8.188 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.102e-05/0.679, allocations: 4.578 kB / 0.6532 GB, free: 8.184 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.843e-05/0.6791, allocations: 159.1 kB / 0.6533 GB, free: 7.988 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.6791, allocations: 4 kB / 0.6533 GB, free: 7.984 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.6791, allocations: 0 / 0.6533 GB, free: 7.984 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.733e-05/0.6792, allocations: 0 / 0.6533 GB, free: 7.984 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.679e-05/0.6792, allocations: 29.7 kB / 0.6534 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.6793, allocations: 0 / 0.6534 GB, free: 7.949 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.6793, allocations: 3.938 kB / 0.6534 GB, free: 7.945 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.6793, allocations: 3.953 kB / 0.6534 GB, free: 7.941 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.6794, allocations: 133.2 kB / 0.6535 GB, free: 7.777 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.36e-05/0.6795, allocations: 22.61 kB / 0.6535 GB, free: 7.746 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.6795, allocations: 4.859 kB / 0.6535 GB, free: 7.738 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006198/0.6801, allocations: 444.5 kB / 0.654 GB, free: 7.215 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.6802, allocations: 32 kB / 0.654 GB, free: 7.176 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.6802, allocations: 4 kB / 0.654 GB, free: 7.172 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000165/0.6804, allocations: 33.69 kB / 0.654 GB, free: 7.133 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.6804, allocations: 53.97 kB / 0.6541 GB, free: 7.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.527e-05/0.6804, allocations: 85 kB / 0.6542 GB, free: 6.98 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.6805, allocations: 25.7 kB / 0.6542 GB, free: 6.949 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.533e-05/0.6805, allocations: 84.08 kB / 0.6543 GB, free: 6.863 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.6805, allocations: 3.906 kB / 0.6543 GB, free: 6.859 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-06/0.6805, allocations: 0 / 0.6543 GB, free: 6.859 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.6806, allocations: 318.8 kB / 0.6546 GB, free: 6.539 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.6806, allocations: 4 kB / 0.6546 GB, free: 6.535 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.819e-06/0.6807, allocations: 0 / 0.6546 GB, free: 6.535 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.6807, allocations: 0 / 0.6546 GB, free: 6.535 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6807, allocations: 0 / 0.6546 GB, free: 6.535 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.07e-05/0.6808, allocations: 40.06 kB / 0.6546 GB, free: 6.492 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6808, allocations: 4 kB / 0.6546 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.6808, allocations: 0 / 0.6546 GB, free: 6.488 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.6808, allocations: 3.938 kB / 0.6546 GB, free: 6.484 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.043e-05/0.6809, allocations: 4 kB / 0.6546 GB, free: 6.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.6809, allocations: 4.094 kB / 0.6546 GB, free: 6.477 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.889e-06/0.6809, allocations: 0 / 0.6546 GB, free: 6.477 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.6809, allocations: 0 / 0.6546 GB, free: 6.477 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 (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 6.753e-05/0.681, allocations: 104.9 kB / 0.6547 GB, free: 6.367 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.379e-05/0.6811, allocations: 33.64 kB / 0.6548 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.234e-06/0.6811, allocations: 7.984 kB / 0.6548 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.249e-05/0.6812, allocations: 39.77 kB / 0.6548 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6812, allocations: 0 / 0.6548 GB, free: 6.285 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.6812, allocations: 4.062 kB / 0.6548 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.6812, allocations: 0 / 0.6548 GB, free: 6.281 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.472e-05/0.6813, allocations: 130.2 kB / 0.6549 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6813, allocations: 3.984 kB / 0.6549 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.6813, allocations: 4 kB / 0.6549 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.6813, allocations: 0 / 0.6549 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.6813, allocations: 0 / 0.6549 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.6813, allocations: 0 / 0.6549 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.6813, allocations: 3.938 kB / 0.6549 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.175e-05/0.6814, allocations: 67.84 kB / 0.655 GB, free: 6.023 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.6815, allocations: 81.09 kB / 0.6551 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.6815, allocations: 0 / 0.6551 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-06/0.6815, allocations: 0 / 0.6551 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.002e-05/0.6815, allocations: 0 / 0.6551 GB, free: 5.926 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.6815, allocations: 0 / 0.6551 GB, free: 5.926 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.722e-05/0.6815, allocations: 75.28 kB / 0.6552 GB, free: 5.852 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6815, allocations: 0 / 0.6552 GB, free: 5.852 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.6818, allocations: 30.5 kB / 0.6552 GB, free: 5.824 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 (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.0004797/0.6823, allocations: 0.6309 MB / 0.6558 GB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.288e-05/0.6823, allocations: 0 / 0.6558 GB, free: 5.164 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6823, allocations: 4 kB / 0.6558 GB, free: 5.16 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.939e-06/0.6824, allocations: 0 / 0.6558 GB, free: 5.16 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.803e-05/0.6825, allocations: 0 / 0.6558 GB, free: 5.16 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002753/0.6827, allocations: 93.03 kB / 0.6559 GB, free: 5.035 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.683, allocations: 0.6768 MB / 0.6566 GB, free: 4.332 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.414e-05/0.683, allocations: 0 / 0.6566 GB, free: 4.332 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.637e-05/0.683, allocations: 15.5 kB / 0.6566 GB, free: 4.316 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.683, allocations: 0 / 0.6566 GB, free: 4.316 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.7019, allocations: 0.6432 MB / 0.6572 GB, free: 3.684 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/0.7022, allocations: 136.7 kB / 0.6573 GB, free: 3.492 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.423/2.125, allocations: 1.125 kB / 0.6573 GB, free: 3.492 MB / 458.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)