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.7373/0.7373, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.00107/0.00107, allocations: 176.8 kB / 169.7 MB, free: 1.75 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.794/1.794, allocations: 205.1 MB / 404.5 MB, free: 1.621 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.001251/0.001251, allocations: 91.38 kB / 481.8 MB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.768e-05/3.771e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1984, allocations: 76.76 MB / 0.6283 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6556/0.8541, allocations: 102 MB / 0.7278 GB, free: 11.41 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002497/0.8544, allocations: 77.02 kB / 0.7279 GB, free: 11.37 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003585/0.858, allocations: 1.286 MB / 0.7292 GB, free: 10.25 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.858, allocations: 3.938 kB / 0.7292 GB, free: 10.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.858, allocations: 0 / 0.7292 GB, free: 10.25 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003485/0.8584, allocations: 329.9 kB / 0.7295 GB, free: 9.883 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.8584, allocations: 12.03 kB / 0.7295 GB, free: 9.871 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.8585, allocations: 30.56 kB / 0.7295 GB, free: 9.832 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.8585, allocations: 7.938 kB / 0.7295 GB, free: 9.824 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.8587, allocations: 163 kB / 0.7297 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.8587, allocations: 0 / 0.7297 GB, free: 9.625 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.8587, allocations: 4 kB / 0.7297 GB, free: 9.621 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.8588, allocations: 25.7 kB / 0.7297 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.8588, allocations: 0 / 0.7297 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.8588, allocations: 0 / 0.7297 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8589, allocations: 0 / 0.7297 GB, free: 9.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.558e-05/0.8589, allocations: 11.95 kB / 0.7297 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.8591, allocations: 153 kB / 0.7299 GB, free: 9.383 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.592e-05/0.8591, allocations: 18.52 kB / 0.7299 GB, free: 9.355 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.8592, allocations: 11.67 kB / 0.7299 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006616/0.8598, allocations: 444.9 kB / 0.7303 GB, free: 8.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.8599, allocations: 30.56 kB / 0.7304 GB, free: 8.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.8599, allocations: 0 / 0.7304 GB, free: 8.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.86, allocations: 32.7 kB / 0.7304 GB, free: 8.746 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.8601, allocations: 51.41 kB / 0.7304 GB, free: 8.684 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.025e-05/0.8601, allocations: 85 kB / 0.7305 GB, free: 8.594 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.8602, allocations: 25.7 kB / 0.7305 GB, free: 8.562 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.8602, allocations: 84.17 kB / 0.7306 GB, free: 8.477 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.8603, allocations: 7.938 kB / 0.7306 GB, free: 8.469 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-06/0.8603, allocations: 0 / 0.7306 GB, free: 8.469 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.8604, allocations: 318.8 kB / 0.7309 GB, free: 8.148 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-06/0.8604, allocations: 2.938 kB / 0.7309 GB, free: 8.148 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.519e-06/0.8604, allocations: 0 / 0.7309 GB, free: 8.148 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.035e-05/0.8605, allocations: 4 kB / 0.7309 GB, free: 8.145 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.8605, allocations: 0 / 0.7309 GB, free: 8.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.767e-05/0.8605, allocations: 29.77 kB / 0.731 GB, free: 8.109 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.8606, allocations: 8.812 kB / 0.731 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.8606, allocations: 3.938 kB / 0.731 GB, free: 8.098 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.8606, allocations: 4 kB / 0.731 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.875e-05/0.8607, allocations: 0 / 0.731 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.8607, allocations: 0 / 0.731 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.026e-05/0.8607, allocations: 0.7812 kB / 0.731 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.8607, allocations: 0.8125 kB / 0.731 GB, free: 8.094 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 (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 9.932e-05/0.8608, allocations: 112.9 kB / 0.7311 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.36e-06/0.8608, allocations: 7.875 kB / 0.7311 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.052e-05/0.8609, allocations: 41.2 kB / 0.7311 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.8609, allocations: 0 / 0.7311 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.8609, allocations: 0 / 0.7311 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.8609, allocations: 3.984 kB / 0.7311 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.8611, allocations: 153.6 kB / 0.7313 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8611, allocations: 4 kB / 0.7313 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.018e-05/0.8611, allocations: 0 / 0.7313 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.8611, allocations: 0 / 0.7313 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.8611, allocations: 0 / 0.7313 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.8611, allocations: 0 / 0.7313 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.8611, allocations: 4.031 kB / 0.7313 GB, free: 7.719 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.387e-05/0.8612, allocations: 72.11 kB / 0.7314 GB, free: 7.633 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.8613, allocations: 77.11 kB / 0.7314 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.197e-05/0.8613, allocations: 0 / 0.7314 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.002e-06/0.8613, allocations: 0 / 0.7314 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.8613, allocations: 4 kB / 0.7315 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.8614, allocations: 0 / 0.7315 GB, free: 7.535 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.948e-05/0.8614, allocations: 79.31 kB / 0.7315 GB, free: 7.457 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8614, allocations: 0 / 0.7315 GB, free: 7.457 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002226/0.8616, allocations: 23.69 kB / 0.7315 GB, free: 7.438 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 (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.0005843/0.8622, allocations: 0.6316 MB / 0.7322 GB, free: 6.781 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.501e-05/0.8623, allocations: 4 kB / 0.7322 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.8623, allocations: 0 / 0.7322 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.8623, allocations: 0 / 0.7322 GB, free: 6.777 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.08e-05/0.8624, allocations: 6.922 kB / 0.7322 GB, free: 6.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002939/0.8627, allocations: 95.2 kB / 0.7323 GB, free: 6.645 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.8631, allocations: 0.6731 MB / 0.7329 GB, free: 5.945 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.39e-05/0.8631, allocations: 7.984 kB / 0.7329 GB, free: 5.938 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.134e-05/0.8631, allocations: 11 kB / 0.7329 GB, free: 5.93 MB / 490.7 MB Notification: Performance of SimCode: time 3.51e-07/0.8631, allocations: 3.938 kB / 0.7329 GB, free: 5.926 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01206/0.8752, allocations: 0.9407 MB / 0.7339 GB, free: 5.098 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.8754, allocations: 164.3 kB / 0.734 GB, free: 4.871 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.447, allocations: 0 / 0.734 GB, free: 4.871 MB / 490.7 MB (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)