Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.7567/0.7567, allocations: 128.7 MB / 143.7 MB, free: 2.309 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.001106/0.001106, allocations: 182.1 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.758/1.758, allocations: 205.4 MB / 409 MB, free: 10.51 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.0008974/0.0008974, allocations: 102.9 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.00033, allocations: 10.34 kB / 0.5604 GB, free: 97.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1519, allocations: 76.77 MB / 0.6354 GB, free: 30.47 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.2942, allocations: 102.8 MB / 0.7358 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.2945, allocations: 71.95 kB / 0.7359 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.004805/0.2993, allocations: 1.624 MB / 0.7374 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.755e-06/0.2993, allocations: 0 / 0.7374 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2993, allocations: 4 kB / 0.7375 GB, free: 5.828 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004145/0.2998, allocations: 363.2 kB / 0.7378 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.2998, allocations: 8.031 kB / 0.7378 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.2999, allocations: 30.56 kB / 0.7378 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.2999, allocations: 7.953 kB / 0.7378 GB, free: 5.371 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3, allocations: 163.1 kB / 0.738 GB, free: 5.172 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.3, allocations: 3.938 kB / 0.738 GB, free: 5.168 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.3001, allocations: 8 kB / 0.738 GB, free: 5.16 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.3003, allocations: 53.67 kB / 0.7381 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.3003, allocations: 0 / 0.7381 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.3003, allocations: 0 / 0.7381 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3003, allocations: 0 / 0.7381 GB, free: 5.102 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001758/0.3005, allocations: 47.92 kB / 0.7381 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.3009, allocations: 265 kB / 0.7384 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.3011, allocations: 46.5 kB / 0.7384 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006878/0.3018, allocations: 449.5 kB / 0.7388 GB, free: 4.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.3019, allocations: 40.7 kB / 0.7389 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3019, allocations: 0 / 0.7389 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003719/0.3023, allocations: 101.7 kB / 0.739 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3023, allocations: 55.39 kB / 0.739 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.899e-05/0.3024, allocations: 100.9 kB / 0.7391 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.3024, allocations: 25.7 kB / 0.7391 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.3025, allocations: 87.98 kB / 0.7392 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.3025, allocations: 4 kB / 0.7392 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.3025, allocations: 0 / 0.7392 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3026, allocations: 318.8 kB / 0.7395 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.281e-05/0.3027, allocations: 20.02 kB / 0.7396 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.006e-05/0.3028, allocations: 23.98 kB / 0.7396 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/0.3029, allocations: 19.98 kB / 0.7396 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3029, allocations: 4.062 kB / 0.7396 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001903/0.3031, allocations: 77.56 kB / 0.7397 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3031, allocations: 4 kB / 0.7397 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.3032, allocations: 0 / 0.7397 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3032, allocations: 0 / 0.7397 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.3033, allocations: 20.02 kB / 0.7397 GB, free: 3.219 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.3033, allocations: 7.891 kB / 0.7397 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.3034, allocations: 11.98 kB / 0.7397 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.363e-06/0.3034, allocations: 4 kB / 0.7397 GB, free: 3.195 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 (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 7.05e-05/0.3034, allocations: 113.8 kB / 0.7398 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.131e-05/0.3035, allocations: 0 / 0.7398 GB, free: 3.074 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.3037, allocations: 84.78 kB / 0.7399 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3037, allocations: 0 / 0.7399 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3037, allocations: 0 / 0.7399 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3037, allocations: 3.953 kB / 0.7399 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.3039, allocations: 157.7 kB / 0.7401 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3039, allocations: 32 / 0.7401 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.23e-05/0.304, allocations: 12 kB / 0.7401 GB, free: 2.766 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.304, allocations: 4 kB / 0.7401 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.304, allocations: 3.984 kB / 0.7401 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.304, allocations: 0 / 0.7401 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.304, allocations: 3.938 kB / 0.7401 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.3043, allocations: 179.4 kB / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/0.3043, allocations: 81.02 kB / 0.7403 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.3044, allocations: 4 kB / 0.7403 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.36e-05/0.3044, allocations: 4 kB / 0.7403 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.3045, allocations: 3.984 kB / 0.7403 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3045, allocations: 8.031 kB / 0.7404 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.301e-05/0.3045, allocations: 75.28 kB / 0.7404 GB, free: 2.371 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3045, allocations: 4 kB / 0.7404 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002344/0.3048, allocations: 27.94 kB / 0.7405 GB, free: 2.34 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 (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.000669/0.3055, allocations: 0.7383 MB / 0.7412 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.3057, allocations: 48 kB / 0.7412 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3057, allocations: 0 / 0.7412 GB, free: 1.527 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.3058, allocations: 28.05 kB / 0.7412 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.306, allocations: 6.484 kB / 0.7413 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004004/0.3064, allocations: 158.2 kB / 0.7414 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.3066, allocations: 0.6809 MB / 0.7421 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.3067, allocations: 0 / 0.7421 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.79e-05/0.3067, allocations: 7.438 kB / 0.7421 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.3067, allocations: 4.062 kB / 0.7421 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2685/0.5752, allocations: 1.229 MB / 0.7433 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.5754, allocations: 180.5 kB / 0.7435 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.44/2.015, allocations: 0 / 0.7435 GB, free: 108.8 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ1.pipe 2>&1)