Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1",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.001266/0.001266, allocations: 105.8 kB / 16.27 MB, free: 6.41 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.001333/0.001333, allocations: 184.6 kB / 17.2 MB, free: 5.953 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.285/1.285, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 122.9 MB / 413.9 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2951, allocations: 77.92 MB / 0.5673 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ1): time 0.001724/0.2969, allocations: 0.576 MB / 0.5678 GB, free: 32.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003806/0.2973, allocations: 196 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.25e-05/0.2973, allocations: 0 / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.012e-05/0.2973, allocations: 3.938 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.568e-06/0.2974, allocations: 2.438 kB / 0.568 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.2977, allocations: 52 kB / 0.5681 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.05e-05/0.2977, allocations: 10.73 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.071e-05/0.2978, allocations: 5.734 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.185e-05/0.2978, allocations: 1.125 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.523e-05/0.2978, allocations: 0.6562 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-06/0.2978, allocations: 0.5938 kB / 0.5681 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001484/0.298, allocations: 54.22 kB / 0.5682 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.071e-06/0.298, allocations: 0.5625 kB / 0.5682 GB, free: 32.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.77e-05/0.298, allocations: 6.125 kB / 0.5682 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.2981, allocations: 35.84 kB / 0.5682 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.2981, allocations: 0 / 0.5682 GB, free: 32.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2981, allocations: 2.812 kB / 0.5682 GB, free: 32.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.2981, allocations: 0.8906 kB / 0.5682 GB, free: 32.07 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.0001825/0.2983, allocations: 314.2 kB / 0.5685 GB, free: 31.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.2984, allocations: 12.3 kB / 0.5685 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.944e-05/0.2984, allocations: 35.41 kB / 0.5686 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.854e-05/0.2984, allocations: 1.734 kB / 0.5686 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.583e-05/0.2985, allocations: 163.5 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.2985, allocations: 384 / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-06/0.2985, allocations: 1.938 kB / 0.5687 GB, free: 31.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.796e-05/0.2986, allocations: 34.16 kB / 0.5687 GB, free: 31.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2986, allocations: 3.938 kB / 0.5687 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.2986, allocations: 1.156 kB / 0.5687 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2986, allocations: 3.938 kB / 0.5688 GB, free: 31.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.58e-05/0.2986, allocations: 6.156 kB / 0.5688 GB, free: 31.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.969e-05/0.2987, allocations: 151.3 kB / 0.5689 GB, free: 31.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.584e-05/0.2987, allocations: 15.64 kB / 0.5689 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.266e-05/0.2988, allocations: 11.5 kB / 0.5689 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005892/0.2994, allocations: 456.1 kB / 0.5694 GB, free: 30.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.349e-05/0.2994, allocations: 36.78 kB / 0.5694 GB, free: 30.7 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2994, allocations: 0 / 0.5694 GB, free: 30.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001038/0.2995, allocations: 41.88 kB / 0.5694 GB, free: 30.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.606e-05/0.2995, allocations: 52.56 kB / 0.5695 GB, free: 30.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.279e-05/0.2995, allocations: 89.86 kB / 0.5696 GB, free: 30.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-06/0.2995, allocations: 27.11 kB / 0.5696 GB, free: 30.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.306e-06/0.2996, allocations: 81.52 kB / 0.5697 GB, free: 30.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.2996, allocations: 4.406 kB / 0.5697 GB, free: 30.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.2996, allocations: 18.03 kB / 0.5697 GB, free: 30.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.393e-05/0.2997, allocations: 311.6 kB / 0.57 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.2997, allocations: 2.375 kB / 0.57 GB, free: 30.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.21e-06/0.2997, allocations: 1.125 kB / 0.57 GB, free: 30.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/0.2997, allocations: 9.297 kB / 0.57 GB, free: 30.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2997, allocations: 1.062 kB / 0.57 GB, free: 30.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.3e-05/0.2998, allocations: 35.91 kB / 0.57 GB, free: 30 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2998, allocations: 6.406 kB / 0.57 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2998, allocations: 4.875 kB / 0.5701 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2998, allocations: 1.438 kB / 0.5701 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.364e-05/0.2998, allocations: 2.844 kB / 0.5701 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.2998, allocations: 0 / 0.5701 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-06/0.2999, allocations: 0.7812 kB / 0.5701 GB, free: 30 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.2999, allocations: 2.906 kB / 0.5701 GB, free: 30 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.408e-05/0.2999, allocations: 111.7 kB / 0.5702 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.284e-06/0.2999, allocations: 1.859 kB / 0.5702 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.3, allocations: 44.36 kB / 0.5702 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.3, allocations: 5.438 kB / 0.5702 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.3, allocations: 4 kB / 0.5702 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3, allocations: 5 kB / 0.5702 GB, free: 29.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.221e-05/0.3001, allocations: 145.2 kB / 0.5704 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3001, allocations: 0 / 0.5704 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-05/0.3001, allocations: 3.172 kB / 0.5704 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3001, allocations: 0 / 0.5704 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.3001, allocations: 8.562 kB / 0.5704 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.3001, allocations: 2.281 kB / 0.5704 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3001, allocations: 0.5625 kB / 0.5704 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.297e-05/0.3002, allocations: 54.8 kB / 0.5704 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.3002, allocations: 83.38 kB / 0.5705 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.3002, allocations: 5.75 kB / 0.5705 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.823e-06/0.3002, allocations: 0 / 0.5705 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.3002, allocations: 5.797 kB / 0.5705 GB, free: 29.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.3002, allocations: 0 / 0.5705 GB, free: 29.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.748e-06/0.3002, allocations: 80.91 kB / 0.5706 GB, free: 29.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3002, allocations: 2.25 kB / 0.5706 GB, free: 29.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002014/0.3004, allocations: 15.92 kB / 0.5706 GB, free: 29.39 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.0002603/0.3007, allocations: 0.615 MB / 0.5712 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 5.624e-05/0.3008, allocations: 5.109 kB / 0.5712 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3008, allocations: 0.75 kB / 0.5712 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-06/0.3008, allocations: 6.125 kB / 0.5712 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.3009, allocations: 4.156 kB / 0.5712 GB, free: 28.78 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002257/0.3012, allocations: 115.2 kB / 0.5713 GB, free: 28.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.088e-05/0.3013, allocations: 0.6716 MB / 0.572 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.518e-06/0.3013, allocations: 1.125 kB / 0.572 GB, free: 27.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.036e-05/0.3013, allocations: 9.062 kB / 0.572 GB, free: 27.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3013, allocations: 1.094 kB / 0.572 GB, free: 27.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1713/0.4726, allocations: 1.122 MB / 0.5731 GB, free: 27.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.409/8.881, allocations: 7.094 kB / 0.5731 GB, free: 27.61 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_BesselJ1.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)