Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.784/1.784, allocations: 287.4 MB / 302.6 MB, free: 8.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001019, allocations: 167.4 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.4 MB / 0.6298 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007301/0.0007303, allocations: 89.19 kB / 0.7431 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 14.94 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2202, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.00152/0.2218, allocations: 1.152 MB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004615/0.2223, allocations: 228.2 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.2224, allocations: 4 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.2224, allocations: 0 / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.2224, allocations: 3.938 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.2228, allocations: 39.89 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.582e-05/0.2228, allocations: 23.92 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.091e-05/0.2229, allocations: 4 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.223, allocations: 7.984 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.223, allocations: 4 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.223, allocations: 7.938 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.2232, allocations: 67.88 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.2232, allocations: 3.984 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.2232, allocations: 25.7 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.649e-05/0.2233, allocations: 31.95 kB / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2234, allocations: 0 / 0.9803 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.427e-06/0.2234, allocations: 3.984 kB / 0.9803 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2234, allocations: 0 / 0.9803 GB, free: 26.45 MB / 0.6198 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.0004087/0.2238, allocations: 355.7 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.2238, allocations: 8.031 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.872e-05/0.2239, allocations: 30.75 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.2239, allocations: 4.938 kB / 0.9807 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.855e-05/0.224, allocations: 160.4 kB / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.224, allocations: 384 / 0.9808 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.878e-06/0.224, allocations: 4.375 kB / 0.9808 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2242, allocations: 66.17 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2242, allocations: 3.938 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2242, allocations: 0 / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2242, allocations: 0 / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.2244, allocations: 47.94 kB / 0.9809 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002622/0.2247, allocations: 245 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.2248, allocations: 50.42 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.05e-05/0.2249, allocations: 32.91 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005068/0.2254, allocations: 457.3 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2254, allocations: 34.56 kB / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2254, allocations: 0 / 0.9817 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003355/0.2258, allocations: 97.64 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.2258, allocations: 51.41 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.844e-05/0.2259, allocations: 109.9 kB / 0.982 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.016e-06/0.2259, allocations: 25.7 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.654e-05/0.2259, allocations: 80.14 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.226, allocations: 15.89 kB / 0.9821 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.556e-06/0.226, allocations: 3.938 kB / 0.9821 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.679e-05/0.226, allocations: 314.8 kB / 0.9824 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.2261, allocations: 19.98 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.2262, allocations: 23.98 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001334/0.2263, allocations: 44.89 kB / 0.9825 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2264, allocations: 7.938 kB / 0.9825 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001642/0.2265, allocations: 73.66 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2265, allocations: 4 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.2266, allocations: 4 kB / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2266, allocations: 0 / 0.9826 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.2267, allocations: 19.95 kB / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2267, allocations: 0 / 0.9826 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.2267, allocations: 11.98 kB / 0.9826 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.2267, allocations: 4 kB / 0.9826 GB, free: 23.77 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.2268, allocations: 117.7 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.2268, allocations: 0 / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002014/0.227, allocations: 84.78 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.227, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2271, allocations: 0 / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2271, allocations: 4 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.2272, allocations: 161.6 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2272, allocations: 4.031 kB / 0.9829 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.2272, allocations: 11.98 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2272, allocations: 3.938 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.713e-06/0.2273, allocations: 0 / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.2273, allocations: 0 / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2273, allocations: 0 / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.2275, allocations: 183.3 kB / 0.9831 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.706e-05/0.2275, allocations: 81.11 kB / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.2275, allocations: 0 / 0.9832 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.81e-05/0.2276, allocations: 11.98 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.2276, allocations: 0 / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2276, allocations: 8.031 kB / 0.9832 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.225e-05/0.2277, allocations: 79.28 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2277, allocations: 0 / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001989/0.2279, allocations: 12 kB / 0.9833 GB, free: 22.92 MB / 0.6198 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 (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.0004047/0.2283, allocations: 0.728 MB / 0.984 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.2285, allocations: 51.98 kB / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2285, allocations: 0 / 0.9841 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.2286, allocations: 19.98 kB / 0.9841 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.2288, allocations: 12.06 kB / 0.9841 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.2292, allocations: 154.2 kB / 0.9843 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2293, allocations: 0.677 MB / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.744e-05/0.2293, allocations: 0 / 0.9849 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.2294, allocations: 7.438 kB / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2294, allocations: 0 / 0.9849 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01115/0.2405, allocations: 1.238 MB / 0.9861 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001469/0.2407, allocations: 180.8 kB / 0.9863 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.501/1.742, allocations: 0 / 0.9863 GB, free: 19.82 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)