Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",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.8108/0.8108, allocations: 128.7 MB / 143.7 MB, free: 2.305 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.001129/0.001129, allocations: 185.8 kB / 173.7 MB, free: 6.129 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.726/1.726, 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.0008687/0.0008687, allocations: 88.11 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 15.84 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1433, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.2728, allocations: 102 MB / 0.7351 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/0.2731, allocations: 83.92 kB / 0.7352 GB, free: 8.184 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.00369/0.2768, allocations: 1.292 MB / 0.7364 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2768, allocations: 0 / 0.7364 GB, free: 6.887 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.2769, allocations: 4 kB / 0.7364 GB, free: 6.883 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.000278/0.2772, allocations: 339.3 kB / 0.7367 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.2772, allocations: 8.031 kB / 0.7367 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.2773, allocations: 34.56 kB / 0.7368 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.177e-05/0.2773, allocations: 3.953 kB / 0.7368 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.148e-05/0.2774, allocations: 159.1 kB / 0.7369 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.2774, allocations: 0 / 0.7369 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.2774, allocations: 0 / 0.7369 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.2775, allocations: 29.69 kB / 0.737 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2775, allocations: 8 kB / 0.737 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.2775, allocations: 0 / 0.737 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2776, allocations: 0 / 0.737 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.431e-05/0.2776, allocations: 3.953 kB / 0.737 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.2778, allocations: 153.6 kB / 0.7371 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.222e-05/0.2778, allocations: 18.61 kB / 0.7371 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.2784, allocations: 445.5 kB / 0.7376 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.2785, allocations: 30.56 kB / 0.7376 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.2785, allocations: 0 / 0.7376 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001205/0.2786, allocations: 37.62 kB / 0.7376 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2786, allocations: 51.41 kB / 0.7377 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.37e-05/0.2787, allocations: 89.12 kB / 0.7378 GB, free: 5.215 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.2787, allocations: 29.7 kB / 0.7378 GB, free: 5.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.01e-05/0.2787, allocations: 86.08 kB / 0.7379 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.2788, allocations: 11.83 kB / 0.7379 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-06/0.2788, allocations: 0 / 0.7379 GB, free: 5.082 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2789, allocations: 318.8 kB / 0.7382 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.2789, allocations: 0 / 0.7382 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-06/0.2789, allocations: 4 kB / 0.7382 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.401e-05/0.2789, allocations: 0 / 0.7382 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2789, allocations: 4.062 kB / 0.7382 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.791e-05/0.279, allocations: 33.69 kB / 0.7382 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.279, allocations: 10.66 kB / 0.7382 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.279, allocations: 3.984 kB / 0.7382 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2791, allocations: 0 / 0.7382 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.251e-05/0.2791, allocations: 3.938 kB / 0.7382 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.2791, allocations: 0 / 0.7382 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.619e-06/0.2791, allocations: 0 / 0.7382 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2791, allocations: 4 kB / 0.7383 GB, free: 4.695 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.286e-05/0.2792, allocations: 113.8 kB / 0.7384 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/0.2792, allocations: 0 / 0.7384 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.2793, allocations: 40.81 kB / 0.7384 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.2793, allocations: 0 / 0.7384 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.2793, allocations: 0 / 0.7384 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.2793, allocations: 0 / 0.7384 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.8e-05/0.2794, allocations: 149.6 kB / 0.7385 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2794, allocations: 3.984 kB / 0.7385 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-06/0.2795, allocations: 0 / 0.7385 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2795, allocations: 0 / 0.7385 GB, free: 4.328 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.2795, allocations: 4.031 kB / 0.7385 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2795, allocations: 4 kB / 0.7386 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2795, allocations: 3.938 kB / 0.7386 GB, free: 4.316 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.202e-05/0.2796, allocations: 61.08 kB / 0.7386 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.2796, allocations: 81.09 kB / 0.7387 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.688e-06/0.2796, allocations: 0 / 0.7387 GB, free: 4.141 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.362e-06/0.2796, allocations: 4 kB / 0.7387 GB, free: 4.137 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-06/0.2797, allocations: 4.031 kB / 0.7387 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.2797, allocations: 0 / 0.7387 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.933e-05/0.2797, allocations: 75.28 kB / 0.7388 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2797, allocations: 3.938 kB / 0.7388 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002065/0.2799, allocations: 19.94 kB / 0.7388 GB, free: 4.035 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.0004742/0.2804, allocations: 0.6356 MB / 0.7394 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 5.004e-05/0.2805, allocations: 4 kB / 0.7394 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.2805, allocations: 0 / 0.7394 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.885e-06/0.2805, allocations: 7.938 kB / 0.7394 GB, free: 3.355 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.243e-05/0.2806, allocations: 4.125 kB / 0.7394 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.2809, allocations: 112.3 kB / 0.7395 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.2811, allocations: 0.677 MB / 0.7402 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.289e-05/0.2811, allocations: 0 / 0.7402 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.541e-05/0.2812, allocations: 11.38 kB / 0.7402 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.2812, allocations: 0 / 0.7402 GB, free: 2.484 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.293, allocations: 0.9402 MB / 0.7411 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.2932, allocations: 189.4 kB / 0.7413 GB, free: 1.438 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.416/1.71, allocations: 0 / 0.7413 GB, free: 1.438 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)