Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7437/0.7437, allocations: 128.7 MB / 143.7 MB, free: 2.359 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001176/0.001176, allocations: 181.8 kB / 173.7 MB, free: 6.125 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.4 MB / 409 MB, free: 10.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000933/0.0009329, allocations: 90.66 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003572, allocations: 11.75 kB / 0.5604 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.2728, allocations: 102.1 MB / 0.7351 GB, free: 8.211 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.2731, allocations: 71.95 kB / 0.7352 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003533/0.2766, allocations: 1.339 MB / 0.7365 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2767, allocations: 0 / 0.7365 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.2767, allocations: 4 kB / 0.7365 GB, free: 6.793 MB / 0.5105 GB 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.0002536/0.2769, allocations: 331.4 kB / 0.7368 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.277, allocations: 12.03 kB / 0.7368 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.277, allocations: 30.56 kB / 0.7368 GB, free: 6.371 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.847e-05/0.2771, allocations: 3.953 kB / 0.7369 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.199e-05/0.2772, allocations: 171 kB / 0.737 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.522e-06/0.2772, allocations: 0 / 0.737 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.2772, allocations: 0 / 0.737 GB, free: 6.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.691e-05/0.2773, allocations: 33.7 kB / 0.737 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.2773, allocations: 0 / 0.737 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.2773, allocations: 0 / 0.737 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2773, allocations: 0 / 0.737 GB, free: 6.121 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.2773, allocations: 11.83 kB / 0.7371 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.2775, allocations: 145.7 kB / 0.7372 GB, free: 5.918 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.2775, allocations: 22.56 kB / 0.7372 GB, free: 5.887 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/0.2781, allocations: 445.6 kB / 0.7376 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.2781, allocations: 34.5 kB / 0.7377 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2782, allocations: 0 / 0.7377 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001249/0.2783, allocations: 37.64 kB / 0.7377 GB, free: 5.273 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.2783, allocations: 53.41 kB / 0.7378 GB, free: 5.211 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.808e-05/0.2784, allocations: 93.11 kB / 0.7379 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.2784, allocations: 29.7 kB / 0.7379 GB, free: 5.078 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.208e-05/0.2784, allocations: 80.14 kB / 0.738 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.2784, allocations: 3.906 kB / 0.738 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.2784, allocations: 0 / 0.738 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.2785, allocations: 314.8 kB / 0.7383 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.2786, allocations: 0 / 0.7383 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.522e-06/0.2786, allocations: 4 kB / 0.7383 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.763e-05/0.2786, allocations: 4.062 kB / 0.7383 GB, free: 4.668 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2786, allocations: 4 kB / 0.7383 GB, free: 4.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.311e-05/0.2787, allocations: 29.7 kB / 0.7383 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.2787, allocations: 11.94 kB / 0.7383 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2787, allocations: 3.984 kB / 0.7383 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2787, allocations: 0 / 0.7383 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.699e-05/0.2787, allocations: 0 / 0.7383 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2788, allocations: 0 / 0.7383 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.2788, allocations: 0 / 0.7383 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2788, allocations: 4 kB / 0.7383 GB, free: 4.609 MB / 0.5105 GB 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 (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.523e-05/0.2789, allocations: 113.8 kB / 0.7384 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.911e-06/0.2789, allocations: 0 / 0.7384 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.283e-05/0.2789, allocations: 40.81 kB / 0.7385 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.279, allocations: 0 / 0.7385 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.279, allocations: 0 / 0.7385 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.279, allocations: 0 / 0.7385 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.333e-05/0.2791, allocations: 149.6 kB / 0.7386 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2791, allocations: 0 / 0.7386 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.479e-05/0.2791, allocations: 0 / 0.7386 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2791, allocations: 7.969 kB / 0.7386 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.954e-06/0.2791, allocations: 4 kB / 0.7386 GB, free: 4.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.2791, allocations: 7.984 kB / 0.7386 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2791, allocations: 0 / 0.7386 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.212e-05/0.2792, allocations: 57.09 kB / 0.7387 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.396e-05/0.2792, allocations: 81.05 kB / 0.7388 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.2793, allocations: 0 / 0.7388 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.2793, allocations: 7.938 kB / 0.7388 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.2793, allocations: 8.016 kB / 0.7388 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.953e-06/0.2793, allocations: 0 / 0.7388 GB, free: 4.039 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.578e-05/0.2793, allocations: 75.28 kB / 0.7388 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2793, allocations: 0 / 0.7388 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002168/0.2796, allocations: 23.94 kB / 0.7389 GB, free: 3.941 MB / 0.5105 GB 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 (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.0004661/0.28, allocations: 0.6317 MB / 0.7395 GB, free: 3.277 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.2801, allocations: 8 kB / 0.7395 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2801, allocations: 0 / 0.7395 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.891e-05/0.2802, allocations: 4.062 kB / 0.7395 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.162e-05/0.2803, allocations: 8 kB / 0.7395 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.2806, allocations: 124.2 kB / 0.7396 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2808, allocations: 0.6692 MB / 0.7403 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.425e-05/0.2808, allocations: 4 kB / 0.7403 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.806e-05/0.2808, allocations: 15.42 kB / 0.7403 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of SimCode: time 3.51e-07/0.2809, allocations: 0 / 0.7403 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01119/0.292, allocations: 0.9432 MB / 0.7412 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.2923, allocations: 185.5 kB / 0.7414 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.431/1.723, allocations: 3.938 kB / 0.7414 GB, free: 1.332 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)