Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_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.742/0.742, 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.001075/0.001075, allocations: 178.7 kB / 164.6 MB, free: 11.59 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.762/1.762, allocations: 205.2 MB / 399.5 MB, free: 13.57 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.001076/0.001076, allocations: 97.58 kB / 476.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.796e-05/2.798e-05, allocations: 6.719 kB / 0.5467 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1801, allocations: 76.77 MB / 0.6216 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.3242, allocations: 101.3 MB / 0.7206 GB, free: 5.559 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003717/0.3247, allocations: 79.94 kB / 0.7207 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.003949/0.3286, allocations: 1.316 MB / 0.722 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3287, allocations: 8 kB / 0.722 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.3287, allocations: 0 / 0.722 GB, free: 4.152 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.0003222/0.329, allocations: 326.4 kB / 0.7223 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/0.3291, allocations: 12.03 kB / 0.7223 GB, free: 3.777 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.3291, allocations: 3.953 kB / 0.7223 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3292, allocations: 159.1 kB / 0.7225 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3293, allocations: 0 / 0.7225 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.3293, allocations: 0 / 0.7225 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.566e-05/0.3293, allocations: 4 kB / 0.7225 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.218e-05/0.3294, allocations: 29.7 kB / 0.7225 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3294, allocations: 0 / 0.7225 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3295, allocations: 3.938 kB / 0.7225 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3295, allocations: 0 / 0.7225 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.3296, allocations: 134.2 kB / 0.7226 GB, free: 3.367 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.537e-05/0.3297, allocations: 22.55 kB / 0.7226 GB, free: 3.336 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.937e-05/0.3297, allocations: 4.859 kB / 0.7226 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000693/0.3304, allocations: 449.5 kB / 0.7231 GB, free: 2.797 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.3305, allocations: 32.72 kB / 0.7231 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.3305, allocations: 0 / 0.7231 GB, free: 2.758 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001902/0.3307, allocations: 29.7 kB / 0.7231 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.3307, allocations: 59.42 kB / 0.7232 GB, free: 2.652 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.626e-05/0.3308, allocations: 85 kB / 0.7233 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3308, allocations: 25.7 kB / 0.7233 GB, free: 2.531 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.3308, allocations: 80.14 kB / 0.7234 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.3309, allocations: 4 kB / 0.7234 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.3309, allocations: 0 / 0.7234 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.331, allocations: 314.8 kB / 0.7237 GB, free: 2.129 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-06/0.331, allocations: 3.938 kB / 0.7237 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.558e-06/0.331, allocations: 3.938 kB / 0.7237 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.3311, allocations: 12.02 kB / 0.7237 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3311, allocations: 0 / 0.7237 GB, free: 2.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.454e-05/0.3311, allocations: 29.7 kB / 0.7237 GB, free: 2.074 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3312, allocations: 5.562 kB / 0.7237 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.3312, allocations: 3.984 kB / 0.7237 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3312, allocations: 0 / 0.7237 GB, free: 2.066 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.49e-05/0.3312, allocations: 8 kB / 0.7237 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.3312, allocations: 0 / 0.7237 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.808e-06/0.3313, allocations: 0 / 0.7237 GB, free: 2.059 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3313, allocations: 4.031 kB / 0.7237 GB, free: 2.055 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 6.613e-05/0.3313, allocations: 104.9 kB / 0.7238 GB, free: 1.945 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.521e-05/0.3314, allocations: 37.64 kB / 0.7239 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-06/0.3314, allocations: 0 / 0.7239 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.577e-05/0.3315, allocations: 45.34 kB / 0.7239 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3315, allocations: 0 / 0.7239 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3315, allocations: 0 / 0.7239 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3315, allocations: 0 / 0.7239 GB, free: 1.855 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.828e-05/0.3316, allocations: 126.2 kB / 0.724 GB, free: 1.695 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3316, allocations: 8 kB / 0.724 GB, free: 1.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.176e-05/0.3316, allocations: 7.984 kB / 0.7241 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.3316, allocations: 0 / 0.7241 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.3316, allocations: 0 / 0.7241 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.3316, allocations: 0 / 0.7241 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3316, allocations: 0 / 0.7241 GB, free: 1.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.126e-05/0.3317, allocations: 65.02 kB / 0.7241 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.3318, allocations: 77.11 kB / 0.7242 GB, free: 1.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.229e-05/0.3318, allocations: 8.016 kB / 0.7242 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-06/0.3318, allocations: 0 / 0.7242 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-06/0.3318, allocations: 0 / 0.7242 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3318, allocations: 4 kB / 0.7242 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.764e-05/0.3319, allocations: 79.28 kB / 0.7243 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3319, allocations: 0 / 0.7243 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002058/0.3321, allocations: 23.94 kB / 0.7243 GB, free: 1.391 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.0005046/0.3326, allocations: 0.628 MB / 0.7249 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.833e-05/0.3326, allocations: 4 kB / 0.7249 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3327, allocations: 4.094 kB / 0.7249 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.3327, allocations: 0 / 0.7249 GB, free: 0.7227 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.999e-05/0.3328, allocations: 7.984 kB / 0.7249 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.3331, allocations: 81.66 kB / 0.725 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3333, allocations: 0.6728 MB / 0.7257 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.3333, allocations: 4 kB / 0.7257 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.3334, allocations: 11.42 kB / 0.7257 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of SimCode: time 2.304e-06/0.3334, allocations: 0 / 0.7257 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02014/0.3535, allocations: 0.653 MB / 0.7263 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002173/0.3538, allocations: 160 kB / 0.7265 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.451/1.804, allocations: 3.938 kB / 0.7265 GB, free: 15.03 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)