Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.001134/0.001134, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001178/0.001178, allocations: 187.4 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 222.1 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.616/1.616, allocations: 292.3 MB / 0.5486 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 77.41 kB / 0.6711 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2249, allocations: 114.6 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.003067/0.228, allocations: 1.502 MB / 0.7844 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005161/0.2285, allocations: 233.2 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.2286, allocations: 4 kB / 0.7847 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.2286, allocations: 3.938 kB / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.103e-05/0.2287, allocations: 0 / 0.7847 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.229, allocations: 55.88 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.2291, allocations: 19.94 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.457e-05/0.2292, allocations: 11.98 kB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.2292, allocations: 7.938 kB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.456e-05/0.2293, allocations: 11.98 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.2293, allocations: 0 / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.2294, allocations: 63.89 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.2295, allocations: 11.97 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.2295, allocations: 7.938 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.2296, allocations: 51.88 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2296, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2296, allocations: 4 kB / 0.7849 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.2297, allocations: 0 / 0.7849 GB, free: 11.84 MB / 0.6075 GB 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.0004552/0.2301, allocations: 347.7 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2302, allocations: 8.031 kB / 0.7852 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.415e-05/0.2302, allocations: 34.75 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.318e-05/0.2302, allocations: 0.9375 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.2303, allocations: 164.3 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.2304, allocations: 4.312 kB / 0.7854 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.2304, allocations: 8.375 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.2305, allocations: 50.23 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2306, allocations: 3.938 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.435e-06/0.2306, allocations: 4 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2306, allocations: 3.984 kB / 0.7855 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.2307, allocations: 35.95 kB / 0.7855 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.231, allocations: 252.9 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.2312, allocations: 42.44 kB / 0.7858 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.2312, allocations: 20.89 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/0.2319, allocations: 457.5 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.232, allocations: 30.56 kB / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.232, allocations: 0 / 0.7863 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003302/0.2323, allocations: 85.58 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.2324, allocations: 55.34 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.564e-05/0.2324, allocations: 102 kB / 0.7865 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.2325, allocations: 29.7 kB / 0.7866 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.2325, allocations: 84.14 kB / 0.7866 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.2325, allocations: 3.906 kB / 0.7866 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.2326, allocations: 9.719 kB / 0.7867 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2327, allocations: 322.8 kB / 0.787 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.303e-05/0.2328, allocations: 11.98 kB / 0.787 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.55e-05/0.2328, allocations: 19.98 kB / 0.787 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.233, allocations: 40.81 kB / 0.787 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.233, allocations: 3.938 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001684/0.2331, allocations: 65.61 kB / 0.7871 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2332, allocations: 6.5 kB / 0.7871 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.2332, allocations: 4.094 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2332, allocations: 0 / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.454e-05/0.2333, allocations: 11.98 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2333, allocations: 0 / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.248e-05/0.2333, allocations: 7.984 kB / 0.7871 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.2333, allocations: 0 / 0.7871 GB, free: 9.23 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.882e-05/0.2334, allocations: 117.7 kB / 0.7872 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.06e-05/0.2335, allocations: 7.906 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.2337, allocations: 72.78 kB / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.2337, allocations: 0 / 0.7873 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2337, allocations: 3.938 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.2337, allocations: 0 / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.2339, allocations: 165.6 kB / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2339, allocations: 0 / 0.7875 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-05/0.2339, allocations: 7.984 kB / 0.7875 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.2339, allocations: 3.938 kB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.234, allocations: 8.031 kB / 0.7875 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.234, allocations: 4 kB / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.234, allocations: 0 / 0.7875 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.2342, allocations: 155.5 kB / 0.7877 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.2342, allocations: 81.11 kB / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.2342, allocations: 0 / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.2343, allocations: 12.02 kB / 0.7877 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.2344, allocations: 7.938 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.2344, allocations: 0 / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.2344, allocations: 79.28 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.873e-06/0.2344, allocations: 0 / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002351/0.2347, allocations: 27.92 kB / 0.7879 GB, free: 8.391 MB / 0.6075 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 () * Number of clocked 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 (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.0005784/0.2352, allocations: 0.7088 MB / 0.7885 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.2355, allocations: 39.98 kB / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2355, allocations: 0 / 0.7886 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.2356, allocations: 23.92 kB / 0.7886 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.2358, allocations: 4 kB / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003861/0.2362, allocations: 143 kB / 0.7887 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.2364, allocations: 0.6807 MB / 0.7894 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.2365, allocations: 4.125 kB / 0.7894 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.054e-05/0.2365, allocations: 7.438 kB / 0.7894 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/0.2365, allocations: 0 / 0.7894 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7123/0.9488, allocations: 1.346 MB / 0.7907 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002413/0.9491, allocations: 195.6 kB / 0.7909 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/2.997, allocations: 0 / 0.7909 GB, free: 5.172 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)