Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.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.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0",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.7441/0.7441, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 184.8 kB / 169.7 MB, free: 1.754 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.945/1.945, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.001023/0.001023, allocations: 94.16 kB / 481.8 MB, free: 4.309 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.843e-05/3.845e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1718, allocations: 76.76 MB / 0.6283 GB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5991/0.7709, allocations: 103 MB / 0.7288 GB, free: 10.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.7712, allocations: 75.33 kB / 0.7289 GB, free: 10.36 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007415/0.7787, allocations: 2.496 MB / 0.7313 GB, free: 8.211 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.7787, allocations: 0 / 0.7313 GB, free: 8.211 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.7787, allocations: 0 / 0.7313 GB, free: 8.211 MB / 490.7 MB 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.0004351/0.7792, allocations: 369.8 kB / 0.7317 GB, free: 7.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.7792, allocations: 8.031 kB / 0.7317 GB, free: 7.801 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.278e-05/0.7793, allocations: 30.56 kB / 0.7317 GB, free: 7.762 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.7793, allocations: 7.953 kB / 0.7317 GB, free: 7.754 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001424/0.7795, allocations: 159.9 kB / 0.7319 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.7795, allocations: 0 / 0.7319 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.7795, allocations: 0 / 0.7319 GB, free: 7.559 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.7796, allocations: 45.56 kB / 0.7319 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.7797, allocations: 0 / 0.7319 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.7797, allocations: 0 / 0.7319 GB, free: 7.512 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.7797, allocations: 4 kB / 0.7319 GB, free: 7.508 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.708e-05/0.7797, allocations: 15.14 kB / 0.732 GB, free: 7.496 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004376/0.7802, allocations: 269.6 kB / 0.7322 GB, free: 7.191 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.7802, allocations: 24.95 kB / 0.7322 GB, free: 7.164 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.835e-05/0.7803, allocations: 16.86 kB / 0.7323 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005536/0.7808, allocations: 444.6 kB / 0.7327 GB, free: 6.621 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.7809, allocations: 30.56 kB / 0.7327 GB, free: 6.582 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.7809, allocations: 0 / 0.7327 GB, free: 6.582 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001535/0.7811, allocations: 49.53 kB / 0.7328 GB, free: 6.531 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.7811, allocations: 58.7 kB / 0.7328 GB, free: 6.465 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.397e-05/0.7812, allocations: 92.98 kB / 0.7329 GB, free: 6.367 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.7812, allocations: 29.64 kB / 0.7329 GB, free: 6.332 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.28e-05/0.7812, allocations: 83.02 kB / 0.733 GB, free: 6.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.7813, allocations: 7.906 kB / 0.733 GB, free: 6.242 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/0.7813, allocations: 0 / 0.733 GB, free: 6.242 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7814, allocations: 313.8 kB / 0.7333 GB, free: 5.93 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.914e-05/0.7814, allocations: 15.95 kB / 0.7333 GB, free: 5.914 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.304e-05/0.7814, allocations: 11 kB / 0.7333 GB, free: 5.906 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.606e-05/0.7815, allocations: 0 / 0.7333 GB, free: 5.906 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7815, allocations: 0 / 0.7333 GB, free: 5.906 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.054e-05/0.7816, allocations: 40.89 kB / 0.7334 GB, free: 5.863 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7816, allocations: 4 kB / 0.7334 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.7816, allocations: 0 / 0.7334 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.7816, allocations: 0 / 0.7334 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.615e-05/0.7817, allocations: 20.08 kB / 0.7334 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.7817, allocations: 3.953 kB / 0.7334 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.014e-05/0.7818, allocations: 10.92 kB / 0.7334 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.7818, allocations: 0 / 0.7334 GB, free: 5.828 MB / 490.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 (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 6.626e-05/0.7819, allocations: 105 kB / 0.7335 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.7819, allocations: 0 / 0.7335 GB, free: 5.719 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.782, allocations: 56.61 kB / 0.7336 GB, free: 5.668 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.782, allocations: 8.031 kB / 0.7336 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.782, allocations: 0 / 0.7336 GB, free: 5.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.782, allocations: 3.953 kB / 0.7336 GB, free: 5.656 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.7822, allocations: 156.9 kB / 0.7337 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7822, allocations: 0 / 0.7337 GB, free: 5.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.098e-05/0.7823, allocations: 11.98 kB / 0.7337 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7823, allocations: 0 / 0.7337 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.7823, allocations: 0 / 0.7337 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.7823, allocations: 0 / 0.7337 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7823, allocations: 4.875 kB / 0.7337 GB, free: 5.441 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001171/0.7824, allocations: 146.6 kB / 0.7339 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.645e-05/0.7825, allocations: 81.11 kB / 0.734 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.7825, allocations: 0 / 0.734 GB, free: 5.191 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.981e-05/0.7826, allocations: 7.984 kB / 0.734 GB, free: 5.184 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.7826, allocations: 4 kB / 0.734 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.7826, allocations: 0 / 0.734 GB, free: 5.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.896e-05/0.7827, allocations: 91.11 kB / 0.7341 GB, free: 5.094 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.7827, allocations: 0 / 0.7341 GB, free: 5.094 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.783, allocations: 39.94 kB / 0.7341 GB, free: 5.055 MB / 490.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 (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.0006123/0.7836, allocations: 0.7348 MB / 0.7348 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.029e-05/0.7837, allocations: 11.94 kB / 0.7348 GB, free: 4.293 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7837, allocations: 8 kB / 0.7348 GB, free: 4.285 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.7837, allocations: 11.62 kB / 0.7348 GB, free: 4.277 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.7839, allocations: 4 kB / 0.7349 GB, free: 4.273 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.7842, allocations: 110.4 kB / 0.735 GB, free: 4.133 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.7845, allocations: 0.6809 MB / 0.7356 GB, free: 3.426 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.568e-05/0.7845, allocations: 3.984 kB / 0.7356 GB, free: 3.422 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.7846, allocations: 15.17 kB / 0.7356 GB, free: 3.41 MB / 490.7 MB Notification: Performance of SimCode: time 2.91e-07/0.7846, allocations: 4.062 kB / 0.7356 GB, free: 3.406 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.7968, allocations: 1.458 MB / 0.7371 GB, free: 2.062 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/0.797, allocations: 149.3 kB / 0.7372 GB, free: 1.84 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.467/2.264, allocations: 4.062 kB / 0.7372 GB, free: 1.836 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselY0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselY0.pipe 2>&1)