Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 103.9 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 190.3 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7186/0.7186, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 59.91 kB / 0.4912 GB, free: 7.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2875, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.001583/0.2891, allocations: 0.5763 MB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000376/0.2895, allocations: 181.6 kB / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.032e-05/0.2895, allocations: 0.5625 kB / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.007e-05/0.2895, allocations: 1.031 kB / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.017e-06/0.2895, allocations: 1.844 kB / 0.568 GB, free: 32.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.2899, allocations: 46.77 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.037e-05/0.2899, allocations: 5 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.956e-05/0.2899, allocations: 1.938 kB / 0.5681 GB, free: 32.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.226e-05/0.2899, allocations: 5.672 kB / 0.5681 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.679e-05/0.29, allocations: 8.453 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.292e-06/0.29, allocations: 3.281 kB / 0.5681 GB, free: 32.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001472/0.2901, allocations: 54.95 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.202e-06/0.2901, allocations: 1.188 kB / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.206e-05/0.2902, allocations: 0 / 0.5682 GB, free: 32.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001007/0.2903, allocations: 39.72 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2903, allocations: 0.6562 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2903, allocations: 0.5625 kB / 0.5682 GB, free: 32.18 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.2903, allocations: 0.6562 kB / 0.5682 GB, free: 32.18 MB / 446.1 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.0001927/0.2905, allocations: 317.2 kB / 0.5685 GB, free: 31.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2905, allocations: 10.91 kB / 0.5685 GB, free: 31.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.906e-05/0.2906, allocations: 31.41 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.922e-05/0.2906, allocations: 2.656 kB / 0.5685 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.902e-05/0.2906, allocations: 162.9 kB / 0.5687 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.2907, allocations: 4.375 kB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.2907, allocations: 5.469 kB / 0.5687 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.825e-05/0.2907, allocations: 30.52 kB / 0.5687 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.2908, allocations: 9.938 kB / 0.5687 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-06/0.2908, allocations: 0 / 0.5687 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.2908, allocations: 0 / 0.5687 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536e-05/0.2908, allocations: 3.219 kB / 0.5687 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.647e-05/0.2909, allocations: 144.7 kB / 0.5689 GB, free: 31.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.922e-05/0.2909, allocations: 20.41 kB / 0.5689 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.2909, allocations: 11.08 kB / 0.5689 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005526/0.2915, allocations: 452.6 kB / 0.5693 GB, free: 30.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.543e-05/0.2915, allocations: 32.27 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2915, allocations: 1.406 kB / 0.5694 GB, free: 30.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 9.754e-05/0.2916, allocations: 39.27 kB / 0.5694 GB, free: 30.78 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/0.2916, allocations: 53.66 kB / 0.5695 GB, free: 30.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.282e-05/0.2917, allocations: 90.66 kB / 0.5696 GB, free: 30.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.2917, allocations: 25.7 kB / 0.5696 GB, free: 30.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-06/0.2917, allocations: 82.36 kB / 0.5697 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.2917, allocations: 3.906 kB / 0.5697 GB, free: 30.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.2917, allocations: 18.91 kB / 0.5697 GB, free: 30.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.343e-05/0.2918, allocations: 311.4 kB / 0.57 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.2918, allocations: 9.188 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.2918, allocations: 3.562 kB / 0.57 GB, free: 30.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.064e-05/0.2918, allocations: 7.484 kB / 0.57 GB, free: 30.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2918, allocations: 1.156 kB / 0.57 GB, free: 30.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.063e-05/0.2919, allocations: 32.33 kB / 0.57 GB, free: 30.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.2919, allocations: 6.156 kB / 0.57 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-06/0.2919, allocations: 3.938 kB / 0.57 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.809e-06/0.2919, allocations: 5.406 kB / 0.57 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.114e-05/0.2919, allocations: 3.375 kB / 0.57 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.292, allocations: 0 / 0.57 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.046e-05/0.292, allocations: 5.578 kB / 0.5701 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.292, allocations: 1.344 kB / 0.5701 GB, free: 30.11 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.292, allocations: 112.7 kB / 0.5702 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-06/0.292, allocations: 1.375 kB / 0.5702 GB, free: 29.99 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.59e-05/0.2921, allocations: 43.62 kB / 0.5702 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2921, allocations: 0.5625 kB / 0.5702 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2921, allocations: 1.781 kB / 0.5702 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2921, allocations: 0.5938 kB / 0.5702 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.096e-05/0.2922, allocations: 148.8 kB / 0.5703 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2922, allocations: 0.5625 kB / 0.5703 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.101e-05/0.2922, allocations: 2.719 kB / 0.5704 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2922, allocations: 1.25 kB / 0.5704 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-06/0.2922, allocations: 6.812 kB / 0.5704 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2922, allocations: 0 / 0.5704 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2922, allocations: 1.25 kB / 0.5704 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.127e-05/0.2923, allocations: 62.03 kB / 0.5704 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.2923, allocations: 83.23 kB / 0.5705 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-06/0.2923, allocations: 4.781 kB / 0.5705 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.2923, allocations: 1.625 kB / 0.5705 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.2923, allocations: 3.062 kB / 0.5705 GB, free: 29.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.2923, allocations: 0 / 0.5705 GB, free: 29.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.618e-06/0.2923, allocations: 76.75 kB / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2923, allocations: 0 / 0.5706 GB, free: 29.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001911/0.2925, allocations: 13.88 kB / 0.5706 GB, free: 29.51 MB / 446.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002555/0.2928, allocations: 0.6168 MB / 0.5712 GB, free: 28.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.426e-05/0.2929, allocations: 9 kB / 0.5712 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2929, allocations: 0.625 kB / 0.5712 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.873e-06/0.2929, allocations: 2.938 kB / 0.5712 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000119/0.293, allocations: 3 kB / 0.5712 GB, free: 28.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002202/0.2932, allocations: 106 kB / 0.5713 GB, free: 28.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.066e-05/0.2933, allocations: 0.6713 MB / 0.572 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.176e-06/0.2933, allocations: 0.6562 kB / 0.572 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.969e-06/0.2933, allocations: 8.625 kB / 0.572 GB, free: 28.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2934, allocations: 1.25 kB / 0.572 GB, free: 28.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1473/0.4406, allocations: 1.123 MB / 0.5731 GB, free: 27.74 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.684, allocations: 15.66 kB / 0.5731 GB, free: 27.73 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ0.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)