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.7274/0.7274, allocations: 127.4 MB / 134.9 MB, free: 3.48 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.001002/0.001002, allocations: 178.8 kB / 164.6 MB, free: 11.62 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.824/1.824, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0009027/0.0009028, allocations: 92.77 kB / 476.7 MB, free: 1.477 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.569e-05, allocations: 8.219 kB / 0.5467 GB, free: 95.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1839, allocations: 76.78 MB / 0.6216 GB, free: 42.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1455/0.3295, allocations: 101.3 MB / 0.7206 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.3298, allocations: 79.95 kB / 0.7206 GB, free: 5.484 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004081/0.3339, allocations: 1.289 MB / 0.7219 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.637e-06/0.334, allocations: 3.984 kB / 0.7219 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.334, allocations: 0 / 0.7219 GB, free: 4.188 MB / 0.4948 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.0003641/0.3344, allocations: 314.6 kB / 0.7222 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.742e-05/0.3344, allocations: 12.03 kB / 0.7222 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.566e-05/0.3345, allocations: 7.891 kB / 0.7222 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.3347, allocations: 167 kB / 0.7224 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3347, allocations: 4 kB / 0.7224 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.3347, allocations: 3.984 kB / 0.7224 GB, free: 3.605 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.959e-05/0.3348, allocations: 4 kB / 0.7224 GB, free: 3.602 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.508e-05/0.3349, allocations: 29.7 kB / 0.7224 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3349, allocations: 0 / 0.7224 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.3349, allocations: 0 / 0.7224 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.3349, allocations: 0 / 0.7224 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.3351, allocations: 126.2 kB / 0.7225 GB, free: 3.406 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.463e-05/0.3351, allocations: 26.55 kB / 0.7226 GB, free: 3.371 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.3352, allocations: 12.78 kB / 0.7226 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006329/0.3358, allocations: 441.5 kB / 0.723 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.3359, allocations: 30.56 kB / 0.723 GB, free: 2.793 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3359, allocations: 4 kB / 0.723 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001793/0.336, allocations: 29.7 kB / 0.7231 GB, free: 2.754 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3361, allocations: 53.56 kB / 0.7231 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.794e-05/0.3361, allocations: 85 kB / 0.7232 GB, free: 2.602 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.767e-05/0.3362, allocations: 29.7 kB / 0.7232 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.28e-05/0.3362, allocations: 80.14 kB / 0.7233 GB, free: 2.484 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.3363, allocations: 4 kB / 0.7233 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.3363, allocations: 0 / 0.7233 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3365, allocations: 314.9 kB / 0.7236 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.3365, allocations: 0 / 0.7236 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-06/0.3365, allocations: 4 kB / 0.7236 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.3365, allocations: 11.88 kB / 0.7236 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3365, allocations: 3.938 kB / 0.7236 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.432e-05/0.3366, allocations: 29.7 kB / 0.7236 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3366, allocations: 4 kB / 0.7236 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.3367, allocations: 0 / 0.7236 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3367, allocations: 4 kB / 0.7237 GB, free: 2.102 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/0.3367, allocations: 4.094 kB / 0.7237 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.3367, allocations: 0 / 0.7237 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.06e-05/0.3368, allocations: 0 / 0.7237 GB, free: 2.098 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.3368, allocations: 0 / 0.7237 GB, free: 2.098 MB / 0.4948 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 () * 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 7.339e-05/0.3369, allocations: 108.9 kB / 0.7238 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.803e-05/0.3369, allocations: 37.62 kB / 0.7238 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-06/0.3369, allocations: 0 / 0.7238 GB, free: 1.941 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.337, allocations: 41.36 kB / 0.7238 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.337, allocations: 64 / 0.7238 GB, free: 1.898 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3371, allocations: 4 kB / 0.7238 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.3371, allocations: 3.984 kB / 0.7238 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.3372, allocations: 130.2 kB / 0.724 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3372, allocations: 0 / 0.724 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.027e-05/0.3372, allocations: 0 / 0.724 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3372, allocations: 0 / 0.724 GB, free: 1.727 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3372, allocations: 4 kB / 0.724 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3372, allocations: 3.938 kB / 0.724 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3372, allocations: 4 kB / 0.724 GB, free: 1.715 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.119e-05/0.3373, allocations: 65.02 kB / 0.724 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.159e-05/0.3374, allocations: 81.11 kB / 0.7241 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.3374, allocations: 0 / 0.7241 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-06/0.3374, allocations: 0 / 0.7241 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.3374, allocations: 4 kB / 0.7241 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3374, allocations: 0 / 0.7241 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.734e-05/0.3375, allocations: 75.28 kB / 0.7242 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3375, allocations: 0 / 0.7242 GB, free: 1.457 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001976/0.3377, allocations: 24.02 kB / 0.7242 GB, free: 1.434 MB / 0.4948 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 () * 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.0004896/0.3382, allocations: 0.6202 MB / 0.7248 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.3382, allocations: 7.938 kB / 0.7248 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3383, allocations: 0 / 0.7248 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.3383, allocations: 0 / 0.7248 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.3384, allocations: 2.234 kB / 0.7248 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.3387, allocations: 85.66 kB / 0.7249 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.339, allocations: 0.6768 MB / 0.7256 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.295e-05/0.339, allocations: 128 / 0.7256 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.339, allocations: 15.38 kB / 0.7256 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of SimCode: time 2.41e-07/0.339, allocations: 4 kB / 0.7256 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01928/0.3583, allocations: 0.6479 MB / 0.7262 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/0.3586, allocations: 147.3 kB / 0.7264 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.436/1.794, allocations: 3.938 kB / 0.7264 GB, free: 15.1 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)