Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.783/0.783, allocations: 127.4 MB / 134.9 MB, free: 3.723 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.001263/0.001262, allocations: 168.9 kB / 164.6 MB, free: 6.535 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.697/1.697, allocations: 205.2 MB / 399.5 MB, free: 5.867 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.000924/0.0009239, allocations: 87.69 kB / 476.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.065e-05/3.066e-05, allocations: 8 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1528, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5242/0.6771, allocations: 102.3 MB / 0.7215 GB, free: 13.07 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.6774, allocations: 71.83 kB / 0.7216 GB, free: 13.03 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004593/0.6821, allocations: 1.569 MB / 0.7231 GB, free: 11.68 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.626e-06/0.6821, allocations: 0 / 0.7231 GB, free: 11.68 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.6821, allocations: 3.938 kB / 0.7231 GB, free: 11.67 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.000384/0.6825, allocations: 346 kB / 0.7235 GB, free: 11.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.6825, allocations: 16.03 kB / 0.7235 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.6826, allocations: 3.953 kB / 0.7235 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.6827, allocations: 167.8 kB / 0.7236 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.6827, allocations: 0 / 0.7236 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.6828, allocations: 4 kB / 0.7236 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.826e-05/0.6828, allocations: 7.812 kB / 0.7237 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.166e-05/0.6829, allocations: 36.94 kB / 0.7237 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.6829, allocations: 0 / 0.7237 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.6829, allocations: 4 kB / 0.7237 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.683, allocations: 3.938 kB / 0.7237 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.6834, allocations: 249.9 kB / 0.7239 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.976e-05/0.6835, allocations: 25.08 kB / 0.724 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.373e-05/0.6835, allocations: 11.98 kB / 0.724 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005751/0.6841, allocations: 444.7 kB / 0.7244 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.6841, allocations: 33.22 kB / 0.7244 GB, free: 10.14 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.6841, allocations: 0 / 0.7244 GB, free: 10.14 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001828/0.6843, allocations: 44.19 kB / 0.7245 GB, free: 10.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.6843, allocations: 51.41 kB / 0.7245 GB, free: 10.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.304e-05/0.6844, allocations: 99.17 kB / 0.7246 GB, free: 9.926 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.6845, allocations: 25.7 kB / 0.7246 GB, free: 9.895 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.6845, allocations: 87.33 kB / 0.7247 GB, free: 9.809 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.574e-05/0.6845, allocations: 3.906 kB / 0.7247 GB, free: 9.805 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-06/0.6845, allocations: 0 / 0.7247 GB, free: 9.805 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.6847, allocations: 318.3 kB / 0.725 GB, free: 9.488 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.557e-05/0.6847, allocations: 4 kB / 0.725 GB, free: 9.484 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.261e-05/0.6847, allocations: 8.062 kB / 0.725 GB, free: 9.48 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.6847, allocations: 4.062 kB / 0.725 GB, free: 9.477 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6848, allocations: 0 / 0.725 GB, free: 9.477 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.294e-05/0.6848, allocations: 41.2 kB / 0.7251 GB, free: 9.434 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.6849, allocations: 5.094 kB / 0.7251 GB, free: 9.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6849, allocations: 7.922 kB / 0.7251 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.6849, allocations: 0 / 0.7251 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.685, allocations: 15.94 kB / 0.7251 GB, free: 9.406 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.685, allocations: 3.938 kB / 0.7251 GB, free: 9.402 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.125e-05/0.6851, allocations: 12.02 kB / 0.7251 GB, free: 9.391 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.6851, allocations: 3.953 kB / 0.7251 GB, free: 9.387 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.772e-05/0.6851, allocations: 105 kB / 0.7252 GB, free: 9.277 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.81e-05/0.6852, allocations: 41.25 kB / 0.7253 GB, free: 9.234 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.6853, allocations: 3.906 kB / 0.7253 GB, free: 9.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.6854, allocations: 56.38 kB / 0.7253 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6854, allocations: 0 / 0.7253 GB, free: 9.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.6854, allocations: 8.016 kB / 0.7253 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.6854, allocations: 0 / 0.7253 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.6856, allocations: 131.2 kB / 0.7255 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6856, allocations: 0 / 0.7255 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.6856, allocations: 11.98 kB / 0.7255 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6856, allocations: 0 / 0.7255 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-06/0.6856, allocations: 0 / 0.7255 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.6857, allocations: 0 / 0.7255 GB, free: 8.996 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.6857, allocations: 7.938 kB / 0.7255 GB, free: 8.992 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.6858, allocations: 142.1 kB / 0.7256 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.6858, allocations: 77.11 kB / 0.7257 GB, free: 8.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.6859, allocations: 4.188 kB / 0.7257 GB, free: 8.746 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-05/0.6859, allocations: 7.984 kB / 0.7257 GB, free: 8.738 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.686, allocations: 3.984 kB / 0.7257 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.686, allocations: 4 kB / 0.7257 GB, free: 8.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.551e-05/0.686, allocations: 82.56 kB / 0.7258 GB, free: 8.652 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.686, allocations: 0 / 0.7258 GB, free: 8.652 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002472/0.6863, allocations: 23.94 kB / 0.7258 GB, free: 8.629 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.0005352/0.6868, allocations: 0.7148 MB / 0.7265 GB, free: 7.891 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.396e-05/0.6869, allocations: 11.5 kB / 0.7265 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.6869, allocations: 0 / 0.7265 GB, free: 7.883 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.277e-05/0.687, allocations: 10.69 kB / 0.7265 GB, free: 7.875 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000201/0.6872, allocations: 4 kB / 0.7265 GB, free: 7.871 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003532/0.6875, allocations: 100.9 kB / 0.7266 GB, free: 7.738 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.6878, allocations: 0.6807 MB / 0.7273 GB, free: 7.031 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.489e-05/0.6878, allocations: 4.781 kB / 0.7273 GB, free: 7.027 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.6879, allocations: 7.438 kB / 0.7273 GB, free: 7.02 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6879, allocations: 0 / 0.7273 GB, free: 7.02 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.7071, allocations: 0.923 MB / 0.7282 GB, free: 6.109 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.7074, allocations: 141.6 kB / 0.7283 GB, free: 5.918 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.552/2.26, allocations: 3.938 kB / 0.7283 GB, free: 5.914 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BesselJ0.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BesselJ0.pipe 2>&1)