Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_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.001848/0.001848, 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.5421/0.5421, allocations: 90.91 MB / 99.34 MB, free: 2.219 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.66/1.66, allocations: 221.5 MB / 343.2 MB, free: 1.625 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.0008441/0.0008441, allocations: 102.4 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.47e-05, allocations: 8 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1457, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4964/0.6422, allocations: 100.2 MB / 0.6515 GB, free: 9.766 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.6425, allocations: 76.7 kB / 0.6516 GB, free: 9.723 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003263/0.6458, allocations: 1.237 MB / 0.6528 GB, free: 8.664 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6458, allocations: 0.6562 kB / 0.6528 GB, free: 8.664 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.6458, allocations: 0 / 0.6528 GB, free: 8.664 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.00027/0.6461, allocations: 333.3 kB / 0.6531 GB, free: 8.297 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6461, allocations: 12.02 kB / 0.6531 GB, free: 8.285 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.6461, allocations: 4.578 kB / 0.6531 GB, free: 8.281 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.062e-05/0.6462, allocations: 159.1 kB / 0.6533 GB, free: 8.086 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.6463, allocations: 8 kB / 0.6533 GB, free: 8.078 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.6463, allocations: 3.938 kB / 0.6533 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.175e-05/0.6463, allocations: 0 / 0.6533 GB, free: 8.074 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.682e-05/0.6464, allocations: 25.7 kB / 0.6533 GB, free: 8.043 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.6464, allocations: 0 / 0.6533 GB, free: 8.043 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.6464, allocations: 4 kB / 0.6533 GB, free: 8.039 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6464, allocations: 3.953 kB / 0.6533 GB, free: 8.035 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001225/0.6466, allocations: 126.2 kB / 0.6534 GB, free: 7.875 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.6466, allocations: 25.64 kB / 0.6535 GB, free: 7.844 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/0.6466, allocations: 8.953 kB / 0.6535 GB, free: 7.832 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005468/0.6472, allocations: 440.4 kB / 0.6539 GB, free: 7.312 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.6472, allocations: 30.56 kB / 0.6539 GB, free: 7.273 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.263e-06/0.6472, allocations: 4 kB / 0.6539 GB, free: 7.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001636/0.6474, allocations: 29.7 kB / 0.6539 GB, free: 7.234 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.513e-05/0.6474, allocations: 51.41 kB / 0.654 GB, free: 7.172 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.564e-05/0.6475, allocations: 85 kB / 0.6541 GB, free: 7.082 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.6475, allocations: 25.7 kB / 0.6541 GB, free: 7.051 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.6475, allocations: 80.14 kB / 0.6542 GB, free: 6.969 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.6476, allocations: 6.094 kB / 0.6542 GB, free: 6.965 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.6476, allocations: 0 / 0.6542 GB, free: 6.965 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6477, allocations: 326.8 kB / 0.6545 GB, free: 6.637 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-06/0.6477, allocations: 0 / 0.6545 GB, free: 6.637 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.362e-06/0.6477, allocations: 3.984 kB / 0.6545 GB, free: 6.633 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.506e-05/0.6477, allocations: 0 / 0.6545 GB, free: 6.633 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6478, allocations: 0 / 0.6545 GB, free: 6.633 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.306e-05/0.6478, allocations: 33.7 kB / 0.6545 GB, free: 6.594 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.6478, allocations: 4 kB / 0.6545 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6478, allocations: 0 / 0.6545 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.6479, allocations: 0 / 0.6545 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.867e-05/0.6479, allocations: 96 / 0.6545 GB, free: 6.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.6479, allocations: 8 kB / 0.6545 GB, free: 6.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.478e-06/0.6479, allocations: 6.625 kB / 0.6546 GB, free: 6.578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.6479, allocations: 0 / 0.6546 GB, free: 6.578 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.08e-05/0.648, allocations: 108.9 kB / 0.6547 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.78e-05/0.6481, allocations: 33.64 kB / 0.6547 GB, free: 6.426 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.6481, allocations: 4 kB / 0.6547 GB, free: 6.422 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.6482, allocations: 37.44 kB / 0.6547 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6482, allocations: 64 / 0.6547 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6482, allocations: 4 kB / 0.6547 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.6482, allocations: 0 / 0.6547 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.587e-05/0.6483, allocations: 132.2 kB / 0.6549 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.6483, allocations: 0 / 0.6549 GB, free: 6.219 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.6483, allocations: 4 kB / 0.6549 GB, free: 6.215 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.6483, allocations: 3.938 kB / 0.6549 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.6483, allocations: 0 / 0.6549 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.6483, allocations: 0 / 0.6549 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.6483, allocations: 0 / 0.6549 GB, free: 6.211 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.502e-05/0.6484, allocations: 67.58 kB / 0.6549 GB, free: 6.129 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.454e-05/0.6484, allocations: 81.11 kB / 0.655 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.019e-05/0.6484, allocations: 0 / 0.655 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.072e-06/0.6485, allocations: 0 / 0.655 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.248e-05/0.6485, allocations: 3.984 kB / 0.655 GB, free: 6.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.6485, allocations: 0 / 0.655 GB, free: 6.027 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.493e-05/0.6485, allocations: 75.28 kB / 0.6551 GB, free: 5.953 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6485, allocations: 0 / 0.6551 GB, free: 5.953 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.6487, allocations: 23.95 kB / 0.6551 GB, free: 5.93 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.000453/0.6492, allocations: 0.6349 MB / 0.6557 GB, free: 5.266 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.818e-05/0.6492, allocations: 7.25 kB / 0.6557 GB, free: 5.262 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6492, allocations: 0 / 0.6557 GB, free: 5.262 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.254e-06/0.6493, allocations: 7.984 kB / 0.6557 GB, free: 5.254 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.353e-05/0.6494, allocations: 1.406 kB / 0.6557 GB, free: 5.254 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002391/0.6496, allocations: 81.61 kB / 0.6558 GB, free: 5.137 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001999/0.6498, allocations: 0.6729 MB / 0.6565 GB, free: 4.438 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.293e-05/0.6498, allocations: 4 kB / 0.6565 GB, free: 4.434 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.6499, allocations: 11.56 kB / 0.6565 GB, free: 4.422 MB / 458.7 MB Notification: Performance of SimCode: time 2.3e-07/0.6499, allocations: 0 / 0.6565 GB, free: 4.422 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.6689, allocations: 0.6349 MB / 0.6571 GB, free: 3.793 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.6691, allocations: 138.6 kB / 0.6572 GB, free: 3.598 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.42/2.09, allocations: 1.75 kB / 0.6572 GB, free: 3.598 MB / 458.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)